From db0f08df597a71fbb8bd5fe0120aa52d86024774 Mon Sep 17 00:00:00 2001 From: Philippe Mathieu-Daudé Date: Sun, 13 Sep 2020 21:53:44 +0200 Subject: 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 Acked-by: Markus Armbruster Acked-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20200913195348.1064154-5-philmd@redhat.com> [Commit message tweaked] Signed-off-by: Markus Armbruster --- hw/acpi/vmgenid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/acpi') 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" -- cgit v1.2.3-55-g7522