[libvirt] [PATCH v3 1/2] qemu_monitor: introduce new function to get QOM path
Jiri Denemark
jdenemar at redhat.com
Tue Jan 13 15:47:55 UTC 2015
On Fri, Jan 09, 2015 at 14:26:25 +0100, Pavel Hrdina wrote:
> The search is done recursively only through QOM object that has a type
> prefixed with "child<" as this indicate that the QOM is a parent for
> other QOM objects.
>
> The usage is that you give known device name with starting path where to
> search.
>
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
> src/qemu/qemu_monitor.c | 172 ++++++++++++++++++++++++++++--------------------
> 1 file changed, 102 insertions(+), 70 deletions(-)
ACK, the code is much nicer and more readable now.
Jirka
More information about the libvir-list
mailing list