]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: capabilities: Introduce QEMU_CAPS_MACHINE_HPET capability
authorPeter Krempa <pkrempa@redhat.com>
Tue, 3 Jan 2023 08:51:33 +0000 (09:51 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 3 Jan 2023 15:44:09 +0000 (16:44 +0100)
commit3c508e7d4310aeb8c65076017c90569cc4b9ea55
tree9654a496472d09a6130f7dee227d8c2d21375b15
parent6d49902110dcd448bdca4d39725960b0a5787225
qemu: capabilities: Introduce QEMU_CAPS_MACHINE_HPET capability

The capability represents that qemu accepts the configuration of the
HPET timer via -machine hpet=on/off rather than the
soon-to-be-deprecated '-no-hpet' option.

The capability is detected from 'query-command-line-options' which
recently added the 'hpet' option.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
tests/qemucapabilitiesdata/caps_8.0.0.x86_64.xml