[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 023/126] trace: Do not try to include QMP commands in user emulati
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 023/126] trace: Do not try to include QMP commands in user emulation binaries |
Date: |
Mon, 27 Feb 2023 15:00:30 +0100 |
QMP is not available on user emulation; there is not monitor.
Besides, since commit a0e61807a3 ("qapi: Remove QMP events
and commands from user-mode builds") we don't generate the
qapi-commands-trace.h header in a user-emulation-only build.
Remove the QMP trace commands from qemu-user binaries.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221220150417.26751-1-philmd@linaro.org>
---
trace/meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/trace/meson.build b/trace/meson.build
index d565948b09..8e80be895c 100644
--- a/trace/meson.build
+++ b/trace/meson.build
@@ -89,4 +89,6 @@ if 'ftrace' in get_option('trace_backends')
trace_ss.add(files('ftrace.c'))
endif
trace_ss.add(files('control.c'))
-trace_ss.add(files('qmp.c'))
+if have_system or have_tools or have_ga
+ trace_ss.add(files('qmp.c'))
+endif
--
2.38.1
- [PULL 013/126] target/loongarch/cpu: Remove unused "sysbus.h" header, (continued)
- [PULL 013/126] target/loongarch/cpu: Remove unused "sysbus.h" header, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 014/126] target/loongarch/cpu: Restrict "memory.h" header to sysemu, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 015/126] target/ppc/internal: Restrict MMU declarations to sysemu, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 016/126] target/ppc/kvm: Remove unused "sysbus.h" header, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 017/126] target/ppc: Fix warning with clang-15, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 018/126] target/riscv/cpu: Move Floating-Point fields closer, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 019/126] target/sparc/sysemu: Remove pointless CONFIG_USER_ONLY guard, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 020/126] target/xtensa/cpu: Include missing "memory.h" header, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 021/126] target/tricore: Remove unused fields from CPUTriCoreState, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 022/126] qom/object_interfaces: Fix QAPI headers included, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 023/126] trace: Do not try to include QMP commands in user emulation binaries,
Philippe Mathieu-Daudé <=
- [PULL 024/126] exec: Remove unused 'qemu/timer.h' timer, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 025/126] tcg: Silent -Wmissing-field-initializers warning, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 026/126] tcg/tcg-op-gvec: Remove unused "qemu/main-loop.h" header, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 027/126] accel/tcg: Restrict 'qapi-commands-machine.h' to system emulation, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 030/126] sysemu/kvm: Remove CONFIG_USER_ONLY guard, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 029/126] accel/kvm: Silent -Wmissing-field-initializers warning, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 028/126] accel/xen: Remove dead code, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 031/126] replay: Extract core API to 'exec/replay-core.h', Philippe Mathieu-Daudé, 2023/02/27
- [PULL 032/126] tests/unit: Restrict machine-smp.c test to system emulation, Philippe Mathieu-Daudé, 2023/02/27
- [PULL 033/126] softmmu: Silent -Wmissing-field-initializers warning, Philippe Mathieu-Daudé, 2023/02/27