qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] target: Restrict 'qapi-commands-machine.h' to system emulation
@ 2022-12-19 21:10 Philippe Mathieu-Daudé
  2022-12-19 21:10 ` [PATCH 1/4] target/arm: " Philippe Mathieu-Daudé
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-12-19 21:10 UTC (permalink / raw)
  To: qemu-devel
  Cc: Markus Armbruster, Huacai Chen, Philippe Mathieu-Daudé,
	qemu-arm, Xiaojuan Yang, Daniel Henrique Barboza,
	Aleksandar Rikalo, Aurelien Jarno, Peter Maydell, David Gibson,
	qemu-ppc, Cédric Le Goater, Jiaxun Yang, Greg Kurz, Song Gao

The "qapi-commands-machine.h" header is not generated in user-only
emulation. This series removes its use in user-emu code by moving
the QMP code depending on this header into a separate sysemu unit.

Philippe Mathieu-Daudé (4):
  target/arm: Restrict 'qapi-commands-machine.h' to system emulation
  target/loongarch: Restrict 'qapi-commands-machine.h' to system
    emulation
  target/mips: Restrict 'qapi-commands-machine.h' to system emulation
  target/ppc: Restrict 'qapi-commands-machine.h' to system emulation

 target/arm/helper.c            | 29 --------------------
 target/arm/m_helper.c          |  1 -
 target/arm/monitor.c           | 28 +++++++++++++++++++
 target/loongarch/cpu-monitor.c | 37 +++++++++++++++++++++++++
 target/loongarch/cpu.c         | 27 ------------------
 target/loongarch/meson.build   |  1 +
 target/mips/cpu.c              | 29 --------------------
 target/mips/sysemu/meson.build |  1 +
 target/mips/sysemu/monitor.c   | 39 ++++++++++++++++++++++++++
 target/ppc/cpu-qom.h           |  2 ++
 target/ppc/cpu_init.c          | 48 +-------------------------------
 target/ppc/monitor.c           | 50 +++++++++++++++++++++++++++++++++-
 12 files changed, 158 insertions(+), 134 deletions(-)
 create mode 100644 target/loongarch/cpu-monitor.c
 create mode 100644 target/mips/sysemu/monitor.c

-- 
2.38.1



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

end of thread, other threads:[~2022-12-20 10:10 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-19 21:10 [PATCH 0/4] target: Restrict 'qapi-commands-machine.h' to system emulation Philippe Mathieu-Daudé
2022-12-19 21:10 ` [PATCH 1/4] target/arm: " Philippe Mathieu-Daudé
2022-12-19 23:56   ` Richard Henderson
2022-12-19 21:10 ` [PATCH 2/4] target/loongarch: " Philippe Mathieu-Daudé
2022-12-19 23:58   ` Richard Henderson
2022-12-20  9:32     ` Philippe Mathieu-Daudé
2022-12-19 21:10 ` [PATCH 3/4] target/mips: " Philippe Mathieu-Daudé
2022-12-19 23:58   ` Richard Henderson
2022-12-19 21:10 ` [PATCH 4/4] target/ppc: " Philippe Mathieu-Daudé
2022-12-19 23:59   ` Richard Henderson
2022-12-19 21:22 ` [PATCH 5/4] target/i386: " Philippe Mathieu-Daudé
2022-12-20  0:01   ` Richard Henderson
2022-12-20  7:11     ` Philippe Mathieu-Daudé

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