]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests/bios-tables-test: tcg-emulate opteron for mmio64 test
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 9 Oct 2023 14:53:58 +0000 (16:53 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 10 Oct 2023 07:39:56 +0000 (09:39 +0200)
seabios starts to make the placement of the 64bit mmio window
depend on the physical address space.  Run the testcase with
a fixed processor on tcg to avoid different results depending
on the host machine.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
tests/qtest/bios-tables-test.c

index f8e03dfd461581b9ffa7e1c7f1e7e6933503c8d5..9f4bc15aaba98b706190e9c0486ca1383ed358d1 100644 (file)
@@ -1082,11 +1082,13 @@ static void test_acpi_q35_tcg_mmio64(void)
     test_data data = {
         .machine = MACHINE_Q35,
         .variant = ".mmio64",
+        .tcg_only = true,
         .required_struct_types = base_required_struct_types,
         .required_struct_types_len = ARRAY_SIZE(base_required_struct_types)
     };
 
     test_acpi_one("-m 128M,slots=1,maxmem=2G "
+                  "-cpu Opteron_G1 "
                   "-object memory-backend-ram,id=ram0,size=128M "
                   "-numa node,memdev=ram0 "
                   "-device pci-testdev,membar=2G",