]> git.ipfire.org Git - thirdparty/qemu.git/commit
qapi: Add 'acpi' field to 'query-machines' output
authorPeter Krempa <pkrempa@redhat.com>
Tue, 28 Feb 2023 08:12:34 +0000 (09:12 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 1 Mar 2023 10:36:53 +0000 (11:36 +0100)
commitb97f3147b0a3992ea079d5ce29b755984f30ba4f
treeff62e6ea7f64fae99280bb4370e349f4990d429f
parent33dc95d032a86dd007073d72cf006f663c614de2
qapi: Add 'acpi' field to 'query-machines' output

Report which machine types support ACPI so that management applications
can properly use the 'acpi' property even on platforms such as ARM where
support for ACPI depends on the machine type and thus checking presence
of '-machine acpi=' in 'query-command-line-options' is insufficient.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <537625d3e25d345052322c42ca19812b98b4f49a.1677571792.git.pkrempa@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/machine-qmp-cmds.c
qapi/machine.json