]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Generate channel target paths on hotplug as well
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 30 Mar 2016 14:43:28 +0000 (16:43 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 9 Jun 2016 11:27:54 +0000 (13:27 +0200)
commit326e5941cd6ac00a9aa4149872f71c2403f25db4
treebe0bbc54425b9ab6675c9d88adc3dc8279b14798
parentf3717047081455e2b46fbf0d25620fe9ade5b19e
qemu: Generate channel target paths on hotplug as well

Since commit 714080791778e3dfbd484ccb3953bffd820b8ba9, qemu agent
channel cannot be plugged in because we won't generate its path
automatically.  Let's not only fix that, but also add tests for it so
next time it's checked for.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1322210

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_hotplug.c
tests/qemuhotplugtest.c
tests/qemuhotplugtestdata/qemuhotplug-hotplug-base+qemu-agent-detach.xml [new file with mode: 0644]
tests/qemuhotplugtestdata/qemuhotplug-hotplug-base+qemu-agent.xml [new file with mode: 0644]
tests/qemuhotplugtestdata/qemuhotplug-hotplug-base-live+qemu-agent-detach.xml [new file with mode: 0644]
tests/qemuhotplugtestdata/qemuhotplug-hotplug-base-live+qemu-agent.xml [new file with mode: 0644]
tests/qemuhotplugtestdata/qemuhotplug-qemu-agent-detach.xml [new file with mode: 0644]
tests/qemuhotplugtestdata/qemuhotplug-qemu-agent.xml [new file with mode: 0644]