Re: [PATCH v2 6/8] tests: tests for vfio-ccw passthrough

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

 




On 05/07/2018 10:41 AM, Boris Fiuczynski wrote:
> From: Shalini Chellathurai Saroja <shalini@xxxxxxxxxxxxxxxxxx>
> 
> Let us test the following functionalities of vfio-ccw in libvirt
> 1. Generation of QEMU command line from domain xml file
> 2. Generation of dump xml from domain xml file
> 3. Checks duplicate/invalid addresses for vfio-ccw devices.
> 
> Signed-off-by: Shalini Chellathurai Saroja <shalini@xxxxxxxxxxxxxxxxxx>
> Reviewed-by: Bjoern Walk <bwalk@xxxxxxxxxxxxx>
> Reviewed-by: Boris Fiuczynski <fiuczy@xxxxxxxxxxxxx>
> Reviewed-by: Marc Hartmayer <mhartmay@xxxxxxxxxxxxxxxxxx>
> Reviewed-by: Stefan Zimmermann <stzi@xxxxxxxxxxxxx>
> ---
>  ...tdev-subsys-mdev-vfio-ccw-duplicate-address.xml | 29 ++++++++++++++++++++++
>  ...ostdev-subsys-mdev-vfio-ccw-invalid-address.xml | 23 +++++++++++++++++
>  .../hostdev-subsys-mdev-vfio-ccw.args              | 26 +++++++++++++++++++
>  .../hostdev-subsys-mdev-vfio-ccw.xml               | 22 ++++++++++++++++
>  tests/qemuxml2argvtest.c                           | 16 ++++++++++++
>  .../hostdev-subsys-mdev-vfio-ccw.xml               | 28 +++++++++++++++++++++
>  tests/qemuxml2xmltest.c                            |  5 ++++
>  7 files changed, 149 insertions(+)
>  create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw-duplicate-address.xml
>  create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw-invalid-address.xml
>  create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw.args
>  create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw.xml
>  create mode 100644 tests/qemuxml2xmloutdata/hostdev-subsys-mdev-vfio-ccw.xml
> 

Typically we keep the xml2xml test changes in the same patch as the
domain_conf changes that would affect it... Likewise the xml2argv test
changes in the qemu_command changes that would affect it.

Since patch 4 is where there's enough forward momentum to do the
xml2xmltest (and others) successfully, I'll move the xml2xml change
there and move the two .xml files there as well.

Then I'll merge this with patch 5 since that's where the xml2argv is done.

Reviewed-by: John Ferlan <jferlan@xxxxxxxxxx>

John

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