Skip to content

Make softmmu/qtest.c target independent

Thomas Huth qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3softmmu/qtest: Move the target-specific pseries RTAS code out of qtest.chw/ppc/spapr_rtas.c include/sysemu/qtest.h softmmu/qtest.c+46 -261 reply
2/3include/exec: Provide the tswap() functions for target independent code, tooinclude/exec/cpu-all.h include/exec/tswap.h+73 -631 reply
3/3softmmu: Make qtest.c target independentsoftmmu/meson.build softmmu/qtest.c+7 -71 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard HendersonCédric Le Goater
SeriesR-b
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH for-8.1 0/3] Make softmmu/qtest.c target independent

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
Signature · 1 line
2.31.1