]> git.proxmox.com Git - mirror_qemu.git/commit
qapi: Extract ACPI commands to 'acpi.json'
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 13 Sep 2020 19:53:47 +0000 (21:53 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 29 Sep 2020 13:41:36 +0000 (15:41 +0200)
commit27c9188fa0d325e1e9778d627daf9a44813cce47
treef4d975e93cb3c6f387759bbec001373114e66391
parentb495ec6c5e2926dc4c776a98d078bc241d8ef3e1
qapi: Extract ACPI commands to 'acpi.json'

Only qemu-system-FOO and qemu-storage-daemon provide QMP
monitors, therefore such declarations and definitions are
irrelevant for user-mode emulation.

Extracting the ACPI commands to their own schema reduces the size of
the qapi-misc* headers generated, and pulls less QAPI-generated code
into user-mode.

Suggested-by: Markus Armbruster <armbru@redhat.com>
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-8-philmd@redhat.com>
[Commit message tweaked]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
MAINTAINERS
hw/acpi/core.c
hw/acpi/cpu.c
hw/acpi/memory_hotplug.c
include/hw/acpi/acpi_dev_interface.h
monitor/qmp-cmds.c
qapi/acpi.json [new file with mode: 0644]
qapi/meson.build
qapi/misc.json
qapi/qapi-schema.json