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

Yi Min Zhao zyimin at linux.ibm.com
Mon Jun 4 05:53:30 UTC 2018



在 2018/6/2 下午10:26, Ján Tomko 写道:
> On Thu, May 24, 2018 at 02:24:36PM +0200, Xiao Feng Ren wrote:
>> From: Yi Min Zhao <zyimin at linux.ibm.com>
>>
>> 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 at linux.ibm.com>
>> Reviewed-by: Boris Fiuczynski <fiuczy at linux.vnet.ibm.com>
>> Reviewed-by: Bjoern Walk <bwalk at linux.ibm.com>
>> Reviewed-by: Stefan Zimmermann <stzi at linux.vnet.ibm.com>
>> ---
>> 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

OK. Will move test code to the corresponding patches.
>
>> 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




More information about the libvir-list mailing list