Re: [PATCH 24/24] qemuxml2xmltest: Modernize all remaining fake capability tests

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

 



On a Thursday in 2023, Peter Krempa wrote:
Convert all cases using DO_TEST() to use DO_TEST_CAPS_LATEST() and
remove DO_TEST() to prevent further use.

Most of the changes are related to CPU being present in the output XML.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
tests/qemuxml2argvdata/boot-floppy-q35.xml    |  16 +
.../disk-virtio-scsi-reservations.xml         |   5 +-
.../memory-hotplug-nvdimm-access.xml          |   5 +-
.../memory-hotplug-nvdimm-align.xml           |   5 +-
.../memory-hotplug-nvdimm-label.xml           |   5 +-
.../memory-hotplug-nvdimm-pmem.xml            |   5 +-
.../memory-hotplug-nvdimm-readonly.xml        |   5 +-
.../memory-hotplug-nvdimm.xml                 |   5 +-
tests/qemuxml2argvdata/numatune-hmat.xml      |   5 +-
...oindex.xml => autoindex.x86_64-latest.xml} |   5 +-
....xml => boot-floppy-q35.x86_64-latest.xml} |   0
...el.xml => chardev-label.x86_64-latest.xml} |   5 +-
...up.xml => clock-catchup.x86_64-latest.xml} |   5 +-
... controller-virtio-scsi.x86_64-latest.xml} |   5 +-
...=> disk-cdrom-bus-other.x86_64-latest.xml} |   5 +-
...l => disk-network-iscsi.x86_64-latest.xml} |   5 +-
...> disk-scsi-device-auto.x86_64-latest.xml} |   5 +-
...l => disk-scsi-disk-vpd.x86_64-latest.xml} |   5 +-
....xml => disk-usb-device.x86_64-latest.xml} |   5 +-
...irtio-scsi-reservations.x86_64-latest.xml} |   0
...egl-headless-rendernode.x86_64-latest.xml} |   5 +-
...graphics-listen-network.x86_64-latest.xml} |   5 +-
...raphics-listen-network2.x86_64-latest.xml} |   5 +-
...graphics-sdl-fullscreen.x86_64-latest.xml} |   5 +-
...sdl.xml => graphics-sdl.x86_64-latest.xml} |   5 +-
...ics-vnc-auto-socket-cfg.x86_64-latest.xml} |   5 +-
...raphics-vnc-auto-socket.x86_64-latest.xml} |   5 +-
...aphics-vnc-egl-headless.x86_64-latest.xml} |   5 +-
...hics-vnc-no-listen-attr.x86_64-latest.xml} |   5 +-
...generated-socket-active.x86_64-latest.xml} |   5 +-
...nerated-socket-inactive.x86_64-latest.xml} |   5 +-
...ml => graphics-vnc-sasl.x86_64-latest.xml} |   5 +-
... => graphics-vnc-socket.x86_64-latest.xml} |   5 +-
...xml => graphics-vnc-tls.x86_64-latest.xml} |   5 +-
... graphics-vnc-websocket.x86_64-latest.xml} |   5 +-
...vnc.xml => graphics-vnc.x86_64-latest.xml} |   5 +-
...=> hostdev-mdev-display.x86_64-latest.xml} |   5 +-
...hostdev-mdev-precreated.x86_64-latest.xml} |   7 +-
...-pci-address-unassigned.x86_64-latest.xml} |   5 +-
...stdev-pci-multifunction.x86_64-latest.xml} |   5 +-
...ev-scsi-autogen-address.x86_64-latest.xml} |   5 +-
...hostdev-scsi-large-unit.x86_64-latest.xml} |   5 +-
...xml => hostdev-scsi-lsi.x86_64-latest.xml} |   5 +-
... hostdev-scsi-shareable.x86_64-latest.xml} |   5 +-
...dev-scsi-vhost-scsi-pci.x86_64-latest.xml} |   5 +-
...ostdev-scsi-virtio-scsi.x86_64-latest.xml} |   5 +-
...fio.xml => hostdev-vfio.x86_64-latest.xml} |   5 +-
... => memory-hotplug-dimm.x86_64-latest.xml} |   5 +-
...y-hotplug-nvdimm-access.x86_64-latest.xml} |   0
...ry-hotplug-nvdimm-align.x86_64-latest.xml} |   0
...ry-hotplug-nvdimm-label.x86_64-latest.xml} |   0
...ory-hotplug-nvdimm-pmem.x86_64-latest.xml} |   0
...hotplug-nvdimm-readonly.x86_64-latest.xml} |   0
...> memory-hotplug-nvdimm.x86_64-latest.xml} |   0
....xml => misc-disable-s3.x86_64-latest.xml} |   5 +-
...> misc-disable-suspends.x86_64-latest.xml} |   5 +-
...4.xml => misc-enable-s4.x86_64-latest.xml} |   5 +-
...at.xml => numatune-hmat.x86_64-latest.xml} |   0
...ble.xml => panic-double.x86_64-latest.xml} |   5 +-
...xml => panic-no-address.x86_64-latest.xml} |   5 +-
.../{panic.xml => panic.x86_64-latest.xml}    |   5 +-
...xml => pci-autoadd-addr.x86_64-latest.xml} |   5 +-
....xml => pci-autoadd-idx.x86_64-latest.xml} |   5 +-
...ml => pci-autofill-addr.x86_64-latest.xml} |   5 +-
...> pci-bridge-many-disks.x86_64-latest.xml} |   5 +-
...ridge.xml => pci-bridge.x86_64-latest.xml} |   5 +-
...xml => pci-expander-bus.x86_64-latest.xml} |   3 +-
...ci-many.xml => pci-many.x86_64-latest.xml} |   5 +-
...ml => pcie-expander-bus.x86_64-latest.xml} |  13 +-
...root-port-model-generic.x86_64-latest.xml} |   6 +
...root-port-model-ioh3420.x86_64-latest.xml} |   8 +-
...t.xml => pcie-root-port.x86_64-latest.xml} |   8 +-
.../pcie-root.x86_64-latest.xml               |  43 +++
tests/qemuxml2xmloutdata/pcie-root.xml        |  27 --
...-switch-downstream-port.x86_64-latest.xml} |   8 +-
...cie-switch-upstream-port.x86_64-latest.xml |  66 ++++
...35.xml => pcihole64-q35.x86_64-latest.xml} |  31 +-
tests/qemuxml2xmloutdata/pcihole64-q35.xml    |  39 --
...> q35-pci-force-address.x86_64-latest.xml} |   5 +-
...i.xml => q35-usb2-multi.x86_64-latest.xml} |   3 +
...xml => q35-usb2-reorder.x86_64-latest.xml} |   3 +
...35-usb2.xml => q35-usb2.x86_64-latest.xml} |   3 +
...pstream-port.xml => q35.x86_64-latest.xml} |  24 +-
...xml => serial-spiceport.x86_64-latest.xml} |   5 +-
...=> smartcard-controller.x86_64-latest.xml} |   7 +-
...t-certificates-database.x86_64-latest.xml} |   5 +-
...tcard-host-certificates.x86_64-latest.xml} |   5 +-
...r.xml => smartcard-host.x86_64-latest.xml} |   7 +-
...rd-passthrough-spicevmc.x86_64-latest.xml} |   5 +-
...artcard-passthrough-tcp.x86_64-latest.xml} |   5 +-
...-controller-default-q35.x86_64-latest.xml} |   3 +
...controller-explicit-q35.x86_64-latest.xml} |   3 +
...=> usb-piix3-controller.x86_64-latest.xml} |   3 +
...xml => usb-port-missing.x86_64-latest.xml} |   5 +-
...sb-redir-filter-version.x86_64-latest.xml} |   5 +-
...xml => usb-redir-filter.x86_64-latest.xml} |   3 +
...-redir.xml => usb-redir.x86_64-latest.xml} |   3 +
...irtio-input-passthrough.x86_64-latest.xml} |   5 +-
...put.xml => virtio-input.x86_64-latest.xml} |   5 +-
...d.xml => virtio-rng-egd.x86_64-latest.xml} |   5 +-
...ml => virtio-rng-random.x86_64-latest.xml} |   5 +-
...einfo.xml => vmcoreinfo.x86_64-latest.xml} |   5 +-
tests/qemuxml2xmltest.c                       | 355 +++++-------------
103 files changed, 595 insertions(+), 442 deletions(-)

Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[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