]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Introduce qemuMonitorJSONFindLinkPath
authorJán Tomko <jtomko@redhat.com>
Wed, 3 Jun 2015 10:40:08 +0000 (12:40 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 5 Jun 2015 14:00:51 +0000 (16:00 +0200)
commit5aca919b6ca3fb234ba7031060dd9584716e1d3e
tree965569071d4771c25ad7fdf9bbe5f0104eff32ad
parent88710cee75af72b388fd66186a2f984dc940d74f
Introduce qemuMonitorJSONFindLinkPath

When traversing through the QOM tree, we're looking for
a link to a device, e.g.:
link<virtio-balloon-pci>

Introduce a helper that will format the link name at the start,
instead of doing it every time while recursing through the tree.
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h