From c7b3c397ba99f59a9fbf6aa2d438a37ac4eb747e Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 21 Feb 2024 15:30:41 +0100 Subject: [PATCH] qemuxmlconftest: Add test data for USB selection with 'powernv' machine on ppc64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko Reviewed-by: Andrea Bolognani --- ...ernv9-minimal.ppc64-latest.abi-update.args | 33 ++++++++++++++++++ ...wernv9-minimal.ppc64-latest.abi-update.xml | 29 ++++++++++++++++ .../ppc64-powernv9-minimal.ppc64-latest.args | 33 ++++++++++++++++++ .../ppc64-powernv9-minimal.ppc64-latest.xml | 29 ++++++++++++++++ .../ppc64-powernv9-minimal.xml | 12 +++++++ ...efault-fallback-powernv9.ppc64-latest.args | 33 ++++++++++++++++++ ...default-fallback-powernv9.ppc64-latest.xml | 34 +++++++++++++++++++ ...b-controller-default-fallback-powernv9.xml | 1 + ...troller-default-powernv9.ppc64-latest.args | 33 ++++++++++++++++++ ...ntroller-default-powernv9.ppc64-latest.xml | 34 +++++++++++++++++++ .../usb-controller-default-powernv9.xml | 23 +++++++++++++ ...ult-unavailable-powernv9.ppc64-latest.args | 33 ++++++++++++++++++ ...ault-unavailable-powernv9.ppc64-latest.xml | 34 +++++++++++++++++++ ...ontroller-default-unavailable-powernv9.xml | 1 + tests/qemuxmlconftest.c | 13 +++++++ 15 files changed, 375 insertions(+) create mode 100644 tests/qemuxmlconfdata/ppc64-powernv9-minimal.ppc64-latest.abi-update.args create mode 100644 tests/qemuxmlconfdata/ppc64-powernv9-minimal.ppc64-latest.abi-update.xml create mode 100644 tests/qemuxmlconfdata/ppc64-powernv9-minimal.ppc64-latest.args create mode 100644 tests/qemuxmlconfdata/ppc64-powernv9-minimal.ppc64-latest.xml create mode 100644 tests/qemuxmlconfdata/ppc64-powernv9-minimal.xml create mode 100644 tests/qemuxmlconfdata/usb-controller-default-fallback-powernv9.ppc64-latest.args create mode 100644 tests/qemuxmlconfdata/usb-controller-default-fallback-powernv9.ppc64-latest.xml create mode 120000 tests/qemuxmlconfdata/usb-controller-default-fallback-powernv9.xml create mode 100644 tests/qemuxmlconfdata/usb-controller-default-powernv9.ppc64-latest.args create mode 100644 tests/qemuxmlconfdata/usb-controller-default-powernv9.ppc64-latest.xml create mode 100644 tests/qemuxmlconfdata/usb-controller-default-powernv9.xml create mode 100644 tests/qemuxmlconfdata/usb-controller-default-unavailable-powernv9.ppc64-latest.args create mode 100644 tests/qemuxmlconfdata/usb-controller-default-unavailable-powernv9.ppc64-latest.xml create mode 120000 tests/qemuxmlconfdata/usb-controller-default-unavailable-powernv9.xml diff --git a/tests/qemuxmlconfdata/ppc64-powernv9-minimal.ppc64-latest.abi-update.args b/tests/qemuxmlconfdata/ppc64-powernv9-minimal.ppc64-latest.abi-update.args new file mode 100644 index 0000000000..368b1575cb --- /dev/null +++ b/tests/qemuxmlconfdata/ppc64-powernv9-minimal.ppc64-latest.abi-update.args @@ -0,0 +1,33 @@ +LC_ALL=C \ +PATH=/bin \ +HOME=/var/lib/libvirt/qemu/domain--1-guest \ +USER=test \ +LOGNAME=test \ +XDG_DATA_HOME=/var/lib/libvirt/qemu/domain--1-guest/.local/share \ +XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain--1-guest/.cache \ +XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain--1-guest/.config \ +/usr/bin/qemu-system-ppc64 \ +-name guest=guest,debug-threads=on \ +-S \ +-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain--1-guest/master-key.aes"}' \ +-machine powernv9,usb=off,dump-guest-core=off,memory-backend=pnv.ram \ +-accel tcg \ +-cpu POWER9 \ +-m size=4194304k \ +-object '{"qom-type":"memory-backend-ram","id":"pnv.ram","size":4294967296}' \ +-overcommit mem-lock=off \ +-smp 1,sockets=1,cores=1,threads=1 \ +-uuid 1ccfd97d-5eb4-478a-bbe6-88d254c16db7 \ +-display none \ +-no-user-config \ +-nodefaults \ +-chardev socket,id=charmonitor,fd=1729,server=on,wait=off \ +-mon chardev=charmonitor,id=monitor,mode=control \ +-rtc base=utc \ +-no-shutdown \ +-boot strict=on \ +-device '{"driver":"qemu-xhci","id":"usb","bus":"pci.0","addr":"0x1"}' \ +-audiodev '{"id":"audio1","driver":"none"}' \ +-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","addr":"0x2"}' \ +-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ +-msg timestamp=on diff --git a/tests/qemuxmlconfdata/ppc64-powernv9-minimal.ppc64-latest.abi-update.xml b/tests/qemuxmlconfdata/ppc64-powernv9-minimal.ppc64-latest.abi-update.xml new file mode 100644 index 0000000000..2d0a4aa3fe --- /dev/null +++ b/tests/qemuxmlconfdata/ppc64-powernv9-minimal.ppc64-latest.abi-update.xml @@ -0,0 +1,29 @@ + + guest + 1ccfd97d-5eb4-478a-bbe6-88d254c16db7 + 4194304 + 4194304 + 1 + + hvm + + + + POWER9 + + + destroy + restart + destroy + + /usr/bin/qemu-system-ppc64 + +
+ + +