]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2argvtest: Use real-caps testing for 'acpi-hotplug-bridge-disable'
authorPeter Krempa <pkrempa@redhat.com>
Mon, 11 Oct 2021 12:30:58 +0000 (14:30 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 Oct 2021 07:41:22 +0000 (09:41 +0200)
commit2d20f0bb05175d18513220bccd1dbaa207cc4c6a
treea3b6f8dd052b80bded85d90320f9eaa9fd443f89
parent2017b9f0c06fc908d5759e87d775ac428d38f8fc
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 <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/aarch64-acpi-hotplug-bridge-disable.aarch64-latest.err [moved from tests/qemuxml2argvdata/aarch64-acpi-hotplug-bridge-disable.err with 100% similarity]
tests/qemuxml2argvdata/aarch64-acpi-hotplug-bridge-disable.xml
tests/qemuxml2argvdata/pc-i440fx-acpi-hotplug-bridge-disable.x86_64-latest.args [moved from tests/qemuxml2argvdata/pc-i440fx-acpi-hotplug-bridge-disable.args with 55% similarity]
tests/qemuxml2argvdata/q35-acpi-hotplug-bridge-disable.err [deleted file]
tests/qemuxml2argvdata/q35-acpi-hotplug-bridge-disable.x86_64-6.0.0.err [moved from tests/qemuxml2argvdata/pc-i440fx-acpi-hotplug-bridge-disable.err with 100% similarity]
tests/qemuxml2argvdata/q35-acpi-hotplug-bridge-disable.x86_64-latest.args [moved from tests/qemuxml2argvdata/q35-acpi-hotplug-bridge-disable.args with 61% similarity]
tests/qemuxml2argvtest.c