util/qemu-config: Extract QMP commands to qemu-config-qmp.c
commit3df4c28860e100011db3a51a8a331506a3fe51f0
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 8 Apr 2024 15:53:18 +0000 (8 17:53 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Apr 2024 09:17:27 +0000 (18 11:17 +0200)
treee55577eab41e6cfc3673cc4ba84dff681af2140d
parentb9ad27a9a4040805e9bbae95853db41f33285ffa
util/qemu-config: Extract QMP commands to qemu-config-qmp.c

QMP is irrelevant for user emulation. Extract the code
related to QMP in a different source file, which won't
be build for user emulation binaries. This avoid pulling
pointless code.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240404194757.9343-5-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20240408155330.522792-7-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qemu/config-file.h
monitor/meson.build
monitor/qemu-config-qmp.c [new file with mode: 0644]
util/qemu-config.c