]> xenbits.xensource.com Git - libvirt.git/commit
qemu_monitor: search memballoon QOM device path using alias
authorPavel Hrdina <phrdina@redhat.com>
Mon, 25 Jul 2016 15:07:38 +0000 (17:07 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 25 Jul 2016 15:07:38 +0000 (17:07 +0200)
commite7093b391df90a2ea13a7b48c2463f694b7b94c1
treecf34155840aba157543075ffc622a78b49c10cd2
parent4a585a884fc8cfd11f6206cd6f1a7db824395e86
qemu_monitor: search memballoon QOM device path using alias

Commit 4a585a88 introduced searching QOM device path by alias, let's use it for
memballoon too.  This may speedup the search because in most cases we will find
the correct QOM device path directly by using alias without the need for the
recursion code.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_driver.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_process.c