Re: [PATCH 11/13] tests: Add new tests for zPCI

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

 



On Thu, May 24, 2018 at 02:24:36PM +0200, Xiao Feng Ren wrote:
From: Yi Min Zhao <zyimin@xxxxxxxxxxxxx>

This patch adds new test cases for zPCI when 'uid' and 'fid'
are defined with different conditions in XML.

Signed-off-by: Yi Min Zhao <zyimin@xxxxxxxxxxxxx>
Reviewed-by: Boris Fiuczynski <fiuczy@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Bjoern Walk <bwalk@xxxxxxxxxxxxx>
Reviewed-by: Stefan Zimmermann <stzi@xxxxxxxxxxxxxxxxxx>
---
tests/qemuxml2argvdata/disk-virtio-s390-zpci.args  | 27 +++++++++
tests/qemuxml2argvdata/disk-virtio-s390-zpci.xml   | 17 ++++++
.../hostdev-vfio-zpci-autogenerate.args            | 24 ++++++++
.../hostdev-vfio-zpci-autogenerate.xml             | 18 ++++++
.../hostdev-vfio-zpci-boundaries.args              | 27 +++++++++
.../hostdev-vfio-zpci-boundaries.xml               | 26 +++++++++
.../hostdev-vfio-zpci-multidomain-many.args        | 38 ++++++++++++
.../hostdev-vfio-zpci-multidomain-many.xml         | 67 ++++++++++++++++++++++
tests/qemuxml2argvdata/hostdev-vfio-zpci.args      | 24 ++++++++
tests/qemuxml2argvdata/hostdev-vfio-zpci.xml       | 19 ++++++
tests/qemuxml2argvtest.c                           | 21 +++++++

These should be squashed into the first commit that formats the command
line

tests/qemuxml2xmloutdata/disk-virtio-s390-zpci.xml | 29 ++++++++++
tests/qemuxml2xmloutdata/hostdev-vfio-zpci.xml     | 30 ++++++++++
tests/qemuxml2xmltest.c                            |  3 +

And these should be introduced along with the XML parser/formatter.

That way the tests demonstrate if the subsequent code changes change the
tests as well or not.

Jano

14 files changed, 370 insertions(+)
create mode 100644 tests/qemuxml2argvdata/disk-virtio-s390-zpci.args
create mode 100644 tests/qemuxml2argvdata/disk-virtio-s390-zpci.xml
create mode 100644 tests/qemuxml2argvdata/hostdev-vfio-zpci-autogenerate.args
create mode 100644 tests/qemuxml2argvdata/hostdev-vfio-zpci-autogenerate.xml
create mode 100644 tests/qemuxml2argvdata/hostdev-vfio-zpci-boundaries.args
create mode 100644 tests/qemuxml2argvdata/hostdev-vfio-zpci-boundaries.xml
create mode 100644 tests/qemuxml2argvdata/hostdev-vfio-zpci-multidomain-many.args
create mode 100644 tests/qemuxml2argvdata/hostdev-vfio-zpci-multidomain-many.xml
create mode 100644 tests/qemuxml2argvdata/hostdev-vfio-zpci.args
create mode 100644 tests/qemuxml2argvdata/hostdev-vfio-zpci.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-virtio-s390-zpci.xml
create mode 100644 tests/qemuxml2xmloutdata/hostdev-vfio-zpci.xml

Attachment: signature.asc
Description: Digital signature

--
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]

  Powered by Linux