On 05/07/2018 10:41 AM, Boris Fiuczynski wrote: > From: Shalini Chellathurai Saroja <[email protected]> > > 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 <[email protected]> > Reviewed-by: Bjoern Walk <[email protected]> > Reviewed-by: Boris Fiuczynski <[email protected]> > Reviewed-by: Marc Hartmayer <[email protected]> > Reviewed-by: Stefan Zimmermann <[email protected]> > --- > ...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 <[email protected]> John -- libvir-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvir-list
