From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Thomas Huth" <thuth@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
qemu-ppc@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>,
qemu-arm@nongnu.org, qemu-block@nongnu.org,
"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PATCH 0/4] tests/qtest: Introduce qtest_get_base_arch() and qtest_get_arch_bits()
Date: Tue, 10 Oct 2023 09:49:48 +0200 [thread overview]
Message-ID: <20231010074952.79165-1-philmd@linaro.org> (raw)
When unifying some 32/64 architectures as a single binary
(for example i386 & x86_64 -> x86), some qtests fail because
we lose some information (the arch bits).
This series introduce the tuple qtest_get_base_arch() /
qtest_get_arch_bits() to allow the tests to keep passing.
Eventually we should remove qtest_get_arch() entirely
and rename qtest_get_base_arch() -> qtest_get_arch().
So far these changes are sufficient to keep me progressing,
so posting up to this point.
Philippe Mathieu-Daudé (4):
tests/libqtest: Introduce qtest_get_arch_bits()
tests/qtest: Use qtest_get_arch_bits()
tests/libqtest: Introduce qtest_get_base_arch()
tests/qtest: Use qtest_get_base_arch()
tests/qtest/libqtest.h | 15 ++++++++++
tests/qtest/ahci-test.c | 5 ++--
tests/qtest/am53c974-test.c | 4 +--
tests/qtest/arm-cpu-features.c | 49 +++++++++++++++----------------
tests/qtest/bios-tables-test.c | 22 +++++++-------
tests/qtest/boot-sector.c | 6 ++--
tests/qtest/device-plug-test.c | 6 ++--
tests/qtest/drive_del-test.c | 16 ++++------
tests/qtest/erst-test.c | 4 +--
tests/qtest/fuzz-e1000e-test.c | 4 +--
tests/qtest/ivshmem-test.c | 6 ++--
tests/qtest/libqos/qos_external.c | 6 ++--
tests/qtest/libqtest.c | 49 +++++++++++++++++++++++++++++++
tests/qtest/lpc-ich9-test.c | 4 +--
tests/qtest/m48t59-test.c | 6 ++--
tests/qtest/pxe-test.c | 6 ++--
tests/qtest/qos-test.c | 6 ++--
tests/qtest/readconfig-test.c | 6 +---
tests/qtest/rtas-test.c | 4 +--
tests/qtest/ufs-test.c | 4 +--
tests/qtest/usb-hcd-uhci-test.c | 6 ++--
tests/qtest/virtio-net-test.c | 3 +-
tests/qtest/virtio-rng-test.c | 4 +--
23 files changed, 138 insertions(+), 103 deletions(-)
--
2.41.0
next reply other threads:[~2023-10-10 7:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-10 7:49 Philippe Mathieu-Daudé [this message]
2023-10-10 7:49 ` [PATCH 1/4] tests/libqtest: Introduce qtest_get_arch_bits() Philippe Mathieu-Daudé
2023-10-10 9:46 ` Thomas Huth
2023-10-10 9:48 ` Philippe Mathieu-Daudé
2023-10-10 7:49 ` [PATCH 2/4] tests/qtest: Use qtest_get_arch_bits() Philippe Mathieu-Daudé
2023-10-10 9:49 ` Thomas Huth
2023-10-10 10:03 ` Ani Sinha
2023-10-10 7:49 ` [PATCH 3/4] tests/libqtest: Introduce qtest_get_base_arch() Philippe Mathieu-Daudé
2023-10-10 8:42 ` Philippe Mathieu-Daudé
2023-10-10 9:50 ` Thomas Huth
2023-10-10 7:49 ` [PATCH 4/4] tests/qtest: Use qtest_get_base_arch() Philippe Mathieu-Daudé
2023-10-10 9:38 ` Akihiko Odaki
2023-10-10 9:58 ` Thomas Huth
2023-10-10 10:37 ` Philippe Mathieu-Daudé
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=20231010074952.79165-1-philmd@linaro.org \
--to=philmd@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=pbonzini@redhat.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=thuth@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).