qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-8.1 0/3] Make softmmu/qtest.c target independent
@ 2023-04-11 18:34 Thomas Huth
  2023-04-11 18:34 ` [PATCH 1/3] softmmu/qtest: Move the target-specific pseries RTAS code out of qtest.c Thomas Huth
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Thomas Huth @ 2023-04-11 18:34 UTC (permalink / raw)
  To: Laurent Vivier, qemu-devel, Philippe Mathieu-Daudé
  Cc: qemu-ppc, Paolo Bonzini, Richard Henderson, David Gibson,
	Cédric Le Goater, Daniel Henrique Barboza

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-04-12 11:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-11 18:34 [PATCH for-8.1 0/3] Make softmmu/qtest.c target independent Thomas Huth
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

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).