summaryrefslogtreecommitdiffstats
path: root/hw/acpi
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-09-13 21:53:44 +0200
committerMarkus Armbruster2020-09-29 15:41:35 +0200
commitdb0f08df597a71fbb8bd5fe0120aa52d86024774 (patch)
tree5b2b934f01dacc4907dd96c3e5da94aebf1b796f /hw/acpi
parentqapi: Restrict balloon-related commands to machine code (diff)
downloadqemu-db0f08df597a71fbb8bd5fe0120aa52d86024774.tar.gz
qemu-db0f08df597a71fbb8bd5fe0120aa52d86024774.tar.xz
qemu-db0f08df597a71fbb8bd5fe0120aa52d86024774.zip
qapi: Restrict query-vm-generation-id command 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 query-vm-generation-id command to machine.json pulls less QAPI-generated code into user-mode. Acked-by: Igor Mammedov <imammedo@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-5-philmd@redhat.com> [Commit message tweaked] Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/acpi')
-rw-r--r--hw/acpi/vmgenid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi/vmgenid.c b/hw/acpi/vmgenid.c
index 53db6af75d..2c8152d508 100644
--- a/hw/acpi/vmgenid.c
+++ b/hw/acpi/vmgenid.c
@@ -12,7 +12,7 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
-#include "qapi/qapi-commands-misc.h"
+#include "qapi/qapi-commands-machine.h"
#include "qemu/module.h"
#include "hw/acpi/acpi.h"
#include "hw/acpi/aml-build.h"