summaryrefslogtreecommitdiffstats
path: root/include/sysemu/balloon.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-09-13 21:53:43 +0200
committerMarkus Armbruster2020-09-29 15:41:35 +0200
commita83e24ba1a52e2f0a00239c8b79edafaa61515aa (patch)
treeb31bf67b09917f2814b880718158845b431b3f7e /include/sysemu/balloon.h
parentqapi: Correct balloon documentation (diff)
downloadqemu-a83e24ba1a52e2f0a00239c8b79edafaa61515aa.tar.gz
qemu-a83e24ba1a52e2f0a00239c8b79edafaa61515aa.tar.xz
qemu-a83e24ba1a52e2f0a00239c8b79edafaa61515aa.zip
qapi: Restrict balloon-related commands to machine code
Only qemu-system-FOO and qemu-storage-daemon provide QMP monitors, therefore such declarations and definitions are irrelevant for user-mode emulation. Restricting the balloon-related commands to machine.json pulls less QAPI-generated code into user-mode. Reviewed-by: David Hildenbrand <david@redhat.com> Acked-by: Markus Armbruster <armbru@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200913195348.1064154-4-philmd@redhat.com> [Commit message tweaked] Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/sysemu/balloon.h')
-rw-r--r--include/sysemu/balloon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysemu/balloon.h b/include/sysemu/balloon.h
index 20a2defe3a..867687b73a 100644
--- a/include/sysemu/balloon.h
+++ b/include/sysemu/balloon.h
@@ -15,7 +15,7 @@
#define QEMU_BALLOON_H
#include "exec/cpu-common.h"
-#include "qapi/qapi-types-misc.h"
+#include "qapi/qapi-types-machine.h"
typedef void (QEMUBalloonEvent)(void *opaque, ram_addr_t target);
typedef void (QEMUBalloonStatus)(void *opaque, BalloonInfo *info);