[libvirt] [PATCH v5 5/5] qemuhotplugtest: Introduce test for chardev hotplug
Daniel P. Berrange
berrange at redhat.com
Tue Jul 16 09:36:34 UTC 2013
On Fri, Jul 12, 2013 at 07:24:02PM +0200, Michal Privoznik wrote:
> 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 | 194 +++++++++++++++++----
> .../qemuhotplug-console-virtio.xml | 5 +
> .../qemuxml2argv-console-compat-2.xml | 122 +++++++++++++
> 3 files changed, 284 insertions(+), 37 deletions(-)
> create mode 100644 tests/qemuhotplugtestdata/qemuhotplug-console-virtio.xml
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-console-compat-2.xml
ACK
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list