]> xenbits.xensource.com Git - libvirt.git/commit
tests: remove explicit <driver name='vfio'/> from hostdev test cases
authorLaine Stump <laine@redhat.com>
Fri, 5 Jan 2024 01:12:51 +0000 (20:12 -0500)
committerLaine Stump <laine@redhat.com>
Mon, 8 Jan 2024 04:59:00 +0000 (23:59 -0500)
commit956e1ca6aa9be4ef382360603e55cda1a900bb09
tree1e60a40239720116dbdc3a5c623da38f2ec6b24c
parent9363c1cb69cc59b5b13a93503c0720791a5f3f84
tests: remove explicit <driver name='vfio'/> from hostdev test cases

The long-deprecated use of <driver name='vfio|xen|kvm'/> in domain xml
for <hostdev> devices was only ever necessary during the period when
libvirt (and the Linux kernel) supported both VFIO and "legacy KVM"
styles of hostdev device assignment for QEMU. This became pointless
many years ago when legacy KVM device assignment was removed from the
kernel, and support for that style of device assignment was completely
disabled in the libvirt source in 2019 (commit
v5.6.0-316-g2e7225ea8c).

Nevertheless, there were instances of <driver name='vfio'/> in the
unit test data that were then (unnecessarily) propagated to several
more tests over the years. This patch cleans out those unnecessary
explicit settings of driver name='vfio' in all QEMU unit test data,
proving that the attribute is no longer (externally) needed. (A later
patch which adds a 2nd attribute to the <driver> element will include
a test case that explicitly exercises the driver name attribute).

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
53 files changed:
docs/formatdomain.rst
docs/formatnetwork.rst
docs/formatnetworkport.rst
docs/pci-addresses.rst
tests/networkxml2xmlin/hostdev-pf.xml
tests/networkxml2xmlout/hostdev-pf.xml
tests/qemuhotplugtestdevices/qemuhotplug-hostdev-pci.xml
tests/qemumemlockdata/qemumemlock-pc-hardlimit+hostdev.xml
tests/qemumemlockdata/qemumemlock-pc-hardlimit+locked+hostdev.xml
tests/qemumemlockdata/qemumemlock-pc-hostdev-nvme.xml
tests/qemumemlockdata/qemumemlock-pc-hostdev.xml
tests/qemumemlockdata/qemumemlock-pc-locked+hostdev.xml
tests/qemumemlockdata/qemumemlock-pseries-hardlimit+hostdev.xml
tests/qemumemlockdata/qemumemlock-pseries-hardlimit+locked+hostdev.xml
tests/qemumemlockdata/qemumemlock-pseries-hostdev.xml
tests/qemumemlockdata/qemumemlock-pseries-locked+hostdev.xml
tests/qemustatusxml2xmldata/modern-in.xml
tests/qemuxml2argvdata/hostdev-pci-address-unassigned.xml
tests/qemuxml2argvdata/hostdev-pci-multifunction.xml
tests/qemuxml2argvdata/hostdev-vfio-multidomain.xml
tests/qemuxml2argvdata/hostdev-vfio-zpci-autogenerate-fids.xml
tests/qemuxml2argvdata/hostdev-vfio-zpci-autogenerate-uids.xml
tests/qemuxml2argvdata/hostdev-vfio-zpci-autogenerate.xml
tests/qemuxml2argvdata/hostdev-vfio-zpci-boundaries.xml
tests/qemuxml2argvdata/hostdev-vfio-zpci-ccw-memballoon.xml
tests/qemuxml2argvdata/hostdev-vfio-zpci-duplicate.xml
tests/qemuxml2argvdata/hostdev-vfio-zpci-invalid-uid-valid-fid.xml
tests/qemuxml2argvdata/hostdev-vfio-zpci-multidomain-many.xml
tests/qemuxml2argvdata/hostdev-vfio-zpci-set-zero.xml
tests/qemuxml2argvdata/hostdev-vfio-zpci-uid-set-zero.xml
tests/qemuxml2argvdata/hostdev-vfio-zpci-wrong-arch.xml
tests/qemuxml2argvdata/hostdev-vfio-zpci.xml
tests/qemuxml2argvdata/hostdev-vfio.xml
tests/qemuxml2argvdata/net-hostdev-vfio-multidomain.xml
tests/qemuxml2argvdata/net-hostdev-vfio.xml
tests/qemuxml2argvdata/pseries-hostdevs-1.xml
tests/qemuxml2argvdata/pseries-hostdevs-2.xml
tests/qemuxml2argvdata/pseries-hostdevs-3.xml
tests/qemuxml2xmloutdata/hostdev-pci-address-unassigned.x86_64-latest.xml
tests/qemuxml2xmloutdata/hostdev-pci-multifunction.x86_64-latest.xml
tests/qemuxml2xmloutdata/hostdev-vfio-old-driver-name.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/hostdev-vfio-zpci-autogenerate-fids.s390x-latest.xml
tests/qemuxml2xmloutdata/hostdev-vfio-zpci-autogenerate-uids.s390x-latest.xml
tests/qemuxml2xmloutdata/hostdev-vfio-zpci-autogenerate.s390x-latest.xml
tests/qemuxml2xmloutdata/hostdev-vfio-zpci-boundaries.s390x-latest.xml
tests/qemuxml2xmloutdata/hostdev-vfio-zpci-ccw-memballoon.s390x-latest.xml
tests/qemuxml2xmloutdata/hostdev-vfio-zpci-multidomain-many.s390x-latest.xml
tests/qemuxml2xmloutdata/hostdev-vfio-zpci.s390x-latest.xml
tests/qemuxml2xmloutdata/hostdev-vfio.x86_64-latest.xml
tests/qemuxml2xmloutdata/net-hostdev-vfio.x86_64-latest.xml
tests/qemuxml2xmloutdata/pseries-hostdevs-1.ppc64-latest.xml
tests/qemuxml2xmloutdata/pseries-hostdevs-2.ppc64-latest.xml
tests/qemuxml2xmloutdata/pseries-hostdevs-3.ppc64-latest.xml