]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: probe for "acpi-index" property
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 6 Apr 2021 10:41:20 +0000 (11:41 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 7 Apr 2021 17:11:11 +0000 (18:11 +0100)
commit1b80c6f0d0ff52aeba8410bbb140257bb53f50ff
tree9d1d9266f46eeb0c4bf984ae1d651b2ce86a0f5b
parentb7bef8439501df60f84401d3a82edcfdb674e417
qemu: probe for "acpi-index" property

This property is exposed by QEMU on any PCI device, but we have to pick
some specific device(s) to probe it against. We expect that at least one
of the virtio devices will be present, so probe against them.

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
tests/qemucapabilitiesdata/caps_6.0.0.x86_64.xml