Re: [PATCH 3/4] target/mips: 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. Extract the QMP functions from cpu.c (which is always compiled) to the ne

[PATCH 3/4] target/mips: 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. Extract the QMP functions from cpu.c (which is always compiled) to the new 'sysemu/monitor.c' unit (which is only compiled w