]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests/qtest/bios-tables-test: extend to also check HEST table
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 12 Jun 2025 15:17:26 +0000 (17:17 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Aug 2025 14:23:50 +0000 (10:23 -0400)
Currently, aarch64 can generate a HEST table when loaded with
-machine ras=on. Add support for it.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <9ce77140500ef68cc939d63952c25579f711ea52.1749741085.git.mchehab+huawei@kernel.org>

tests/qtest/bios-tables-test.c

index 6aec68deccfa3291356ef4a8f3862b88a54cdc72..e7e6926c816f1260bf61da3082f912751dae0f60 100644 (file)
@@ -2208,7 +2208,7 @@ static void test_acpi_aarch64_virt_tcg(void)
 
     data.smbios_cpu_max_speed = 2900;
     data.smbios_cpu_curr_speed = 2700;
-    test_acpi_one("-cpu cortex-a57 "
+    test_acpi_one("-cpu cortex-a57 -machine ras=on "
                   "-smbios type=4,max-speed=2900,current-speed=2700", &data);
     free_test_data(&data);
 }