qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] hw/core: Make machine-qmp-cmds.c target independent
@ 2023-04-24 16:04 Thomas Huth
  2023-04-24 16:04 ` [PATCH 1/3] hw/core: Use a callback for target specific query-cpus-fast information Thomas Huth
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Huth @ 2023-04-24 16:04 UTC (permalink / raw)
  To: qemu-devel, Eduardo Habkost, Marcel Apfelbaum,
	Philippe Mathieu-Daudé
  Cc: qemu-s390x, Yanan Wang, Richard Henderson, David Hildenbrand,
	Ilya Leoshkevich

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

-- 
2.31.1



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

end of thread, other threads:[~2023-04-24 16:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 16:04 [PATCH 0/3] hw/core: Make machine-qmp-cmds.c target independent Thomas Huth
2023-04-24 16:04 ` [PATCH 1/3] hw/core: Use a callback for target specific query-cpus-fast information Thomas Huth
2023-04-24 16:04 ` [PATCH 2/3] cpu: Introduce a wrapper for being able to use TARGET_NAME in common code Thomas Huth
2023-04-24 16:04 ` [PATCH 3/3] hw/core: Move machine-qmp-cmds.c into the target independent source set Thomas Huth

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