All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Michael S. Tsirkin" <mst@redhat.com>,
	Igor Mammedov <imammedo@redhat.com>,
	Ani Sinha <anisinha@redhat.com>,
	Gerd Hoffmann <kraxel@redhat.com>
Subject: [PULL 1/6] tests/bios-tables-test: tcg-emulate opteron for mmio64 test
Date: Tue, 10 Oct 2023 13:26:05 +0200	[thread overview]
Message-ID: <20231010112610.2618091-2-kraxel@redhat.com> (raw)
In-Reply-To: <20231010112610.2618091-1-kraxel@redhat.com>

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 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c
index f8e03dfd4615..9f4bc15aaba9 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",
-- 
2.41.0



  reply	other threads:[~2023-10-10 11:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-10 11:26 [PULL 0/6] Firmware/seabios 20231010 patches Gerd Hoffmann
2023-10-10 11:26 ` Gerd Hoffmann [this message]
2023-10-10 11:26 ` [PULL 2/6] tests/acpi: enable tests/data/acpi/q35/DSDT.mmio64 updates Gerd Hoffmann
2023-10-10 11:26 ` [PULL 3/6] seabios: update submodule to git snapshot Gerd Hoffmann
2023-10-10 11:26 ` [PULL 4/6] seabios: update binaries " Gerd Hoffmann
2023-11-07  9:45   ` Claudio Fontana
2023-11-07 10:35     ` Gerd Hoffmann
2023-11-07 10:48       ` Claudio Fontana
2023-11-07 11:49         ` Gerd Hoffmann
2023-11-07 14:12           ` Claudio Fontana
2023-11-07 14:34             ` Gerd Hoffmann
2023-10-10 11:26 ` [PULL 5/6] tests/acpi: update expected data files Gerd Hoffmann
2023-10-10 11:26 ` [PULL 6/6] tests/acpi: disable tests/data/acpi/q35/DSDT.mmio64 updates Gerd Hoffmann
2023-10-10 16:32 ` [PULL 0/6] Firmware/seabios 20231010 patches Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231010112610.2618091-2-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=anisinha@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.