diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2023-10-09 16:53:58 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2023-10-10 09:39:56 +0200 |
commit | 7ff1b8c088ca958b4e55edf8e407375ab215f717 (patch) | |
tree | 95cee92d9392c2cb9ef46b9a7a013824eee3a8a6 /tests/qtest/bios-tables-test.c | |
parent | 2f3913f4b2ad74baeb5a6f1d36efbd9ecdf1057d (diff) |
tests/bios-tables-test: tcg-emulate opteron for mmio64 test
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>
Diffstat (limited to 'tests/qtest/bios-tables-test.c')
-rw-r--r-- | tests/qtest/bios-tables-test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index f8e03dfd46..9f4bc15aab 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -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", |