qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH RESEND v2 4/5] target/mips: Restrict 'qapi-commands-machine.h


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH RESEND v2 4/5] target/mips: Restrict 'qapi-commands-machine.h' to system emulation
Date: Wed, 21 Dec 2022 09:30:31 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

On 20/12/22 12:11, 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 new 'sysemu/monitor.c' unit (which is only compiled when system
emulation is selected).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
  target/mips/cpu.c              | 29 -------------------------
  target/mips/sysemu/meson.build |  1 +
  target/mips/sysemu/monitor.c   | 39 ++++++++++++++++++++++++++++++++++
  3 files changed, 40 insertions(+), 29 deletions(-)
  create mode 100644 target/mips/sysemu/monitor.c

Patch queued to mips-next.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]