]> git.proxmox.com Git - mirror_qemu.git/commit
qom/object_interfaces: Fix QAPI headers included
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 19 Dec 2022 13:31:00 +0000 (14:31 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:01 +0000 (22:29 +0100)
commit919a0423d8cbdb99e31a9a9d5c49e6e364ddf160
tree892941b5b00cb7f9f5ebc6b95e7f7af0f24de3ed
parent21917c16613b4f18f57d77b6638e795c25438f5f
qom/object_interfaces: Fix QAPI headers included

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