[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 022/126] qom/object_interfaces: Fix QAPI headers included
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 022/126] qom/object_interfaces: Fix QAPI headers included |
Date: |
Mon, 27 Feb 2023 15:00:29 +0100 |
Since commit a0e61807a3 ("qapi: Remove QMP events and commands from
user-mode builds") we don't generate the "qapi-commands-qom.h"
header in a user-emulation-only build.
Commit f375026606 ("qom: Factor out user_creatable_process_cmdline")
incorrectly added a dependency on this "qapi/qapi-commands-qom.h"
header (the QMP handlers are still defined in qom/qom-qmp-cmds.c).
Remove it, and add "qapi/qmp/qobject.h" which declares qobject_unref.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221220115709.18508-1-philmd@linaro.org>
---
qom/object_interfaces.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qom/object_interfaces.c b/qom/object_interfaces.c
index f94b6c3193..7d31589b04 100644
--- a/qom/object_interfaces.c
+++ b/qom/object_interfaces.c
@@ -2,8 +2,8 @@
#include "qemu/cutils.h"
#include "qapi/error.h"
-#include "qapi/qapi-commands-qom.h"
#include "qapi/qapi-visit-qom.h"
+#include "qapi/qmp/qobject.h"
#include "qapi/qmp/qdict.h"
#include "qapi/qmp/qerror.h"
#include "qapi/qmp/qjson.h"
--
2.38.1
- [PULL 012/126] target/alpha: Remove obsolete STATUS document, (continued)
- [PULL 012/126] target/alpha: Remove obsolete STATUS document, Philippe Mathieu-Daudé, 2023/02/27
- [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é <=
- [PULL 023/126] trace: Do not try to include QMP commands in user emulation binaries, Philippe Mathieu-Daudé, 2023/02/27
- [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