]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuhotplugtest: Introduce test for chardev hotplug
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 2 Jul 2013 08:16:30 +0000 (10:16 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 16 Jul 2013 09:47:39 +0000 (11:47 +0200)
commit9e45b3dfe3e1c3827e77fa6f2c888a77bd9ea683
treec8baefd2d5575eef2e17f1119d599f964f7f798f
parent24b0821926ead364a625210940773d7da43f1577
qemuhotplugtest: Introduce test for chardev hotplug

The test is currently testing just device update function. However,
chardev hotplug is implemented just for device attach and detach. This
fact means, the test needs to be rewritten (the majority of the code is
still shared). Moreover, we are now able to pass VM among multiple test
runs. So for instance, while we add a device in the first run, we can
remove it in the second run.
tests/qemuhotplugtest.c
tests/qemuhotplugtestdata/qemuhotplug-console-virtio.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-console-compat-2.xml [new file with mode: 0644]