From: Thomas Huth <thuth@redhat.com>
To: "Laurent Vivier" <lvivier@redhat.com>,
qemu-devel@nongnu.org,
"Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: qemu-ppc@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>,
"Richard Henderson" <richard.henderson@linaro.org>,
"David Gibson" <david@gibson.dropbear.id.au>,
"Cédric Le Goater" <clg@kaod.org>,
"Daniel Henrique Barboza" <danielhb413@gmail.com>
Subject: [PATCH for-8.1 0/3] Make softmmu/qtest.c target independent
Date: Tue, 11 Apr 2023 20:34:15 +0200 [thread overview]
Message-ID: <20230411183418.1640500-1-thuth@redhat.com> (raw)
For being able to build universal binaries one day, we need certain
files to be independent from the emulated target. qtest.c is one of
these files. Rework the target specific code in there so we can
finally move it from "specific_ss" to "softmmu_ss".
Thomas Huth (3):
softmmu/qtest: Move the target-specific pseries RTAS code out of
qtest.c
include/exec: Provide the tswap() functions for target independent
code, too
softmmu: Make qtest.c target independent
include/exec/cpu-all.h | 64 +------------------------------------
include/exec/tswap.h | 72 ++++++++++++++++++++++++++++++++++++++++++
include/sysemu/qtest.h | 4 +++
hw/ppc/spapr_rtas.c | 29 +++++++++++++++++
softmmu/qtest.c | 51 +++++++++++-------------------
softmmu/meson.build | 2 +-
6 files changed, 126 insertions(+), 96 deletions(-)
create mode 100644 include/exec/tswap.h
--
2.31.1
next reply other threads:[~2023-04-11 18:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-11 18:34 Thomas Huth [this message]
2023-04-11 18:34 ` [PATCH 1/3] softmmu/qtest: Move the target-specific pseries RTAS code out of qtest.c Thomas Huth
2023-04-12 10:44 ` Cédric Le Goater
2023-04-11 18:34 ` [PATCH 2/3] include/exec: Provide the tswap() functions for target independent code, too Thomas Huth
2023-04-12 11:01 ` Cédric Le Goater
2023-04-11 18:34 ` [PATCH 3/3] softmmu: Make qtest.c target independent Thomas Huth
2023-04-12 10:53 ` Cédric Le Goater
2023-04-12 10:13 ` [PATCH for-8.1 0/3] Make softmmu/qtest.c " Richard Henderson
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=20230411183418.1640500-1-thuth@redhat.com \
--to=thuth@redhat.com \
--cc=clg@kaod.org \
--cc=danielhb413@gmail.com \
--cc=david@gibson.dropbear.id.au \
--cc=lvivier@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=richard.henderson@linaro.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 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).