On a Wednesday in 2023, Peter Krempa wrote:
This new version doesn't bother looking for properties of -machine but uses data added to output of 'query-machines' to do proper decision when to use -machine acpi and also adds validation. Required qemu patch: https://lists.gnu.org/archive/html/qemu-devel/2023-02/msg08486.html Peter Krempa (5): qemu: capabilities: Refactor XML parsing in virQEMUCapsLoadMachines qemu: capabilities: Extract whether machine type supports ACPI qemu: capabilities: Introduce virQEMUCapsMachineSupportsACPI XXX: tests: qemucapabilitiesdata: Regenerate with support for 'acpi' in 'query-machines' qemu: Use '-machine acpi=on/off' instead of deprecated '-no-acpi' src/qemu/qemu_capabilities.c | 83 +-- src/qemu/qemu_capabilities.h | 3 + src/qemu/qemu_capspriv.h | 3 +- src/qemu/qemu_command.c | 42 +- src/qemu/qemu_monitor.h | 1 + src/qemu/qemu_monitor_json.c | 12 + src/qemu/qemu_validate.c | 8 + .../caps_8.0.0.x86_64.replies | 471 ++++++++++++------ .../caps_8.0.0.x86_64.xml | 242 ++++-----
...
.../x86_64-q35-graphics.x86_64-latest.args | 2 +- .../x86_64-q35-headless.x86_64-latest.args | 2 +- tests/testutilsqemu.c | 9 +- 380 files changed, 928 insertions(+), 999 deletions(-)
Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx> Jano
Attachment:
signature.asc
Description: PGP signature