]> xenbits.xensource.com Git - libvirt.git/commit
qemu_monitor: introduce new function to get QOM path
authorPavel Hrdina <phrdina@redhat.com>
Tue, 9 Dec 2014 15:21:45 +0000 (16:21 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 14 Jan 2015 10:55:51 +0000 (11:55 +0100)
commitcc41c64878590d7016e0dfa488d345e8634c3bf2
tree9463dd4208c22b51106880f24446acf0aab539f3
parente105dc981438bc33fa771bd67cece6234dbf6c8d
qemu_monitor: introduce new function to get QOM path

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@redhat.com>
src/qemu/qemu_monitor.c