From: Peter Krempa Date: Mon, 11 Oct 2021 12:30:58 +0000 (+0200) Subject: qemuxml2argvtest: Use real-caps testing for 'acpi-hotplug-bridge-disable' X-Git-Tag: v7.9.0-rc1~235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d20f0bb05175d18513220bccd1dbaa207cc4c6a;p=thirdparty%2Flibvirt.git qemuxml2argvtest: Use real-caps testing for 'acpi-hotplug-bridge-disable' We can use real example configs to prove the support without the need for using fake capabilities. Fix the recently added test cases. The negative case for 'pc-i440fx-acpi-hotplug-bridge-disable' is removed completely as there is no real qemu libvirt supports which wouldn't have the capability. The input file for the negative test on aarch64 is modified so that it's actually a reasonably valid VM config. Fixes: bef0f0d8be6 Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/tests/qemuxml2argvdata/aarch64-acpi-hotplug-bridge-disable.err b/tests/qemuxml2argvdata/aarch64-acpi-hotplug-bridge-disable.aarch64-latest.err similarity index 100% rename from tests/qemuxml2argvdata/aarch64-acpi-hotplug-bridge-disable.err rename to tests/qemuxml2argvdata/aarch64-acpi-hotplug-bridge-disable.aarch64-latest.err diff --git a/tests/qemuxml2argvdata/aarch64-acpi-hotplug-bridge-disable.xml b/tests/qemuxml2argvdata/aarch64-acpi-hotplug-bridge-disable.xml index 0d5f945bd7..47107e93f3 100644 --- a/tests/qemuxml2argvdata/aarch64-acpi-hotplug-bridge-disable.xml +++ b/tests/qemuxml2argvdata/aarch64-acpi-hotplug-bridge-disable.xml @@ -1,33 +1,13 @@ - i440fx - 56f5055c-1b8d-490c-844a-ad646a1caaaa + test 1048576 - 1048576 1 hvm - - - destroy - restart - destroy - - /usr/bin/qemu-system-aarch64 - -
- - - - -