[PATCH 0/2] Add qemu hotplug tests with ccw devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These changes require another patch, or else there would be conflicts:
 [PATCH 0/3] Clean up qemuhotplugtest xml files
https://www.redhat.com/archives/libvir-list/2016-July/msg00202.html


Hotplugging ccw devices was previously not tested, so I decided
to add some testcases because I plan on making changes to different
address types and want to make sure regression won't happen.

Please let me know if you think that the filenames are too long.

I know that some device files are duplicated. It is (right now) required
because of the way qemuhotplugtest.c calculates the expected xml
filenames. I plan on changing that to explicitly stating the basis
xml, the device xml, and the expected xml, so that there would
be no duplicates. It will also make filenames shorter.
In another patch, I will add testcases that verify attaching a device
to the persistent config. Explicitly stating the expected xml
will be even more useful then.

Tomasz Flendrich (2):
  Add qemu hotplug test files
  Add ccw test cases to qemu hotplug

 tests/qemuhotplugtest.c                            | 37 +++++++++++
 .../qemuhotplug-ccw-virtio-1-explicit-reverse.xml  |  8 +++
 .../qemuhotplug-ccw-virtio-1-explicit.xml          |  8 +++
 .../qemuhotplug-ccw-virtio-2-explicit.xml          |  8 +++
 .../qemuhotplug-ccw-virtio-2.xml                   |  8 +++
 .../qemuhotplug-ccw-virtio.xml                     |  8 +++
 .../qemuhotplug-base-ccw-live+ccw-virtio.xml       | 63 +++++++++++++++++++
 ...-2-ccw-virtio+ccw-virtio-1-explicit-reverse.xml | 73 ++++++++++++++++++++++
 ...ive-with-2-ccw-virtio+ccw-virtio-1-explicit.xml | 73 ++++++++++++++++++++++
 ...qemuhotplug-base-ccw-live-with-2-ccw-virtio.xml | 63 +++++++++++++++++++
 ...-live-with-ccw-virtio+ccw-virtio-2-explicit.xml | 73 ++++++++++++++++++++++
 ...-base-ccw-live-with-ccw-virtio+ccw-virtio-2.xml | 73 ++++++++++++++++++++++
 .../qemuhotplug-base-ccw-live-with-ccw-virtio.xml  | 63 +++++++++++++++++++
 .../qemuhotplug-base-ccw-live.xml                  | 53 ++++++++++++++++
 14 files changed, 611 insertions(+)
 create mode 100644 tests/qemuhotplugtestdevices/qemuhotplug-ccw-virtio-1-explicit-reverse.xml
 create mode 100644 tests/qemuhotplugtestdevices/qemuhotplug-ccw-virtio-1-explicit.xml
 create mode 100644 tests/qemuhotplugtestdevices/qemuhotplug-ccw-virtio-2-explicit.xml
 create mode 100644 tests/qemuhotplugtestdevices/qemuhotplug-ccw-virtio-2.xml
 create mode 100644 tests/qemuhotplugtestdevices/qemuhotplug-ccw-virtio.xml
 create mode 100644 tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live+ccw-virtio.xml
 create mode 100644 tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-2-ccw-virtio+ccw-virtio-1-explicit-reverse.xml
 create mode 100644 tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-2-ccw-virtio+ccw-virtio-1-explicit.xml
 create mode 100644 tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-2-ccw-virtio.xml
 create mode 100644 tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2-explicit.xml
 create mode 100644 tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2.xml
 create mode 100644 tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-ccw-virtio.xml
 create mode 100644 tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live.xml

-- 
1.9.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]