hw/core: Make machine-qmp-cmds.c target independent
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | hw/core: Use a callback for target specific query-cpus-fast informationhw/ include/ include/ +1 more | +15 | 0 replies | |
| 2/3 | cpu: Introduce a wrapper for being able to use TARGET_NAME in common codecpu.c include/ | +7 | 0 replies | |
| 3/3 | hw/core: Move machine-qmp-cmds.c into the target independent source sethw/ hw/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] hw/core: Make machine-qmp-cmds.c target independent
For being able to create a universal QEMU binary one day, core files like machine-qmp-cmds.c must not contain any target specifc macros. This series reworks the related spots in this file, so we can move it to the common softmmu_ss source set. This has also the advantage that we only have to compile this file once, and not multiple times (one time for each target) anymore.
Thomas Huth (3):
hw/core: Use a callback for target specific query-cpus-fast
information
cpu: Introduce a wrapper for being able to use TARGET_NAME in common
code
hw/core: Move machine-qmp-cmds.c into the target independent source
set
include/hw/core/cpu.h | 6 ++++++ include/qemu/typedefs.h | 1 + cpu.c | 5 +++++ hw/core/machine-qmp-cmds.c | 20 ++++---------------- target/s390x/cpu.c | 8 ++++++++ hw/core/meson.build | 5 +---- 6 files changed, 25 insertions(+), 20 deletions(-)
Signature · 1 line
2.31.1