Re: [PATCH 4/4] target/ppc: Restrict 'qapi-commands-machine.h' to system emulation

2022-12-19 Thread Richard Henderson
On 12/19/22 13:10, Philippe Mathieu-Daudé wrote: Since commit a0e61807a3 ("qapi: Remove QMP events and commands from user-mode builds") we don't generate the "qapi-commands-machine.h" header in a user-emulation-only build. Move the QMP functions from cpu_init.c (which is always compiled) to moni

[PATCH 4/4] target/ppc: Restrict 'qapi-commands-machine.h' to system emulation

2022-12-19 Thread Philippe Mathieu-Daudé
Since commit a0e61807a3 ("qapi: Remove QMP events and commands from user-mode builds") we don't generate the "qapi-commands-machine.h" header in a user-emulation-only build. Move the QMP functions from cpu_init.c (which is always compiled) to monitor.c (which is only compiled when system-emulation