OSDN Git Service

qapi: Restrict query-vm-generation-id command to machine code
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 13 Sep 2020 19:53:44 +0000 (21:53 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 29 Sep 2020 13:41:35 +0000 (15:41 +0200)
commitdb0f08df597a71fbb8bd5fe0120aa52d86024774
tree5b2b934f01dacc4907dd96c3e5da94aebf1b796f
parenta83e24ba1a52e2f0a00239c8b79edafaa61515aa
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>
hw/acpi/vmgenid.c
qapi/machine.json
qapi/misc.json
stubs/vmgenid.c