]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: detect vfio-pci device and its bootindex parameter
authorLaine Stump <laine@laine.org>
Wed, 17 Apr 2013 18:16:28 +0000 (14:16 -0400)
committerLaine Stump <laine@laine.org>
Fri, 26 Apr 2013 01:23:38 +0000 (21:23 -0400)
commit5b90ef0847abae42a53ac70064bd16fbe2bb791b
tree548045300092d49509dfc488df3b0ef8068ad777
parent1fbf1905544142e460e5221d63361869a126ded7
qemu: detect vfio-pci device and its bootindex parameter

QEMU_CAPS_DEVICE_VFIO_PCI is set if the device named "vfio-pci" is
supported in the qemu binary.

QEMU_CAPS_VFIO_PCI_BOOTINDEX is set if the vfio-pci device supports
the "bootindex" parameter;  for some reason, the bootindex parameter
wasn't included in early versions of vfio support (qemu 1.4) so we
have to check for it separately from vfio itself.
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h