From: Jean-Philippe Brucker Date: Thu, 16 Dec 2021 09:15:06 +0000 (+0000) Subject: tests/qtest/bios-tables-test: Only run VIOT test on TCG X-Git-Tag: v7.0.0-rc0~127 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=69a80f14ce5ce7461734698cdb919616ee9459ff;p=thirdparty%2Fqemu.git tests/qtest/bios-tables-test: Only run VIOT test on TCG The VIOT test does not always work under KVM on the virt machine: PASS 5 qtest-aarch64/bios-tables-test /aarch64/acpi/virt/oem-fields qemu-system-aarch64: kvm_init_vcpu: kvm_arch_init_vcpu failed (0): Invalid argument Broken pipe Make it TCG only. Reported-by: Richard Henderson Signed-off-by: Jean-Philippe Brucker Signed-off-by: Richard Henderson --- diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index 58df53b15b5..9a468e29ebb 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -1489,6 +1489,7 @@ static void test_acpi_virt_viot(void) { test_data data = { .machine = "virt", + .tcg_only = true, .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd", .uefi_fl2 = "pc-bios/edk2-arm-vars.fd", .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",