qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 3/5] accel/tcg: Restrict 'qapi-commands-machine.h' to system


From: Richard Henderson
Subject: Re: [PATCH 3/5] accel/tcg: Restrict 'qapi-commands-machine.h' to system emulation
Date: Mon, 19 Dec 2022 10:42:19 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 12/19/22 09:08, 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.

Rename 'hmp.c' as 'monitor.c' and move the QMP functions from
cpu-exec.c (which is always compiled) to monitor.c (which is only
compiled when system-emulation is selected).

Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
  accel/tcg/cpu-exec.c  |  88 +----------------------------------
  accel/tcg/hmp.c       |  14 ------
  accel/tcg/internal.h  |   3 ++
  accel/tcg/meson.build |   2 +-
  accel/tcg/monitor.c   | 105 ++++++++++++++++++++++++++++++++++++++++++
  5 files changed, 111 insertions(+), 101 deletions(-)
  delete mode 100644 accel/tcg/hmp.c
  create mode 100644 accel/tcg/monitor.c

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~



reply via email to

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