Re: [libvirt] [PATCH v3 1/2] qemu_monitor: introduce new function to get QOM path

2015-01-14 Thread Pavel Hrdina
On 01/13/2015 04:47 PM, Jiri Denemark wrote: 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

Re: [libvirt] [PATCH v3 1/2] qemu_monitor: introduce new function to get QOM path

2015-01-13 Thread Jiri Denemark
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

[libvirt] [PATCH v3 1/2] qemu_monitor: introduce new function to get QOM path

2015-01-09 Thread Pavel Hrdina
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 phrd...@redhat.com ---