mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
qemu: add vfio-ap capability
Introduce vfio-ap capability. Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com> Reviewed-by: Bjoern Walk <bwalk@linux.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Chris Venteicher <cventeic@redhat.com>
This commit is contained in:
parent
58fcdbf263
commit
dc788d2540
@ -508,6 +508,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
|
||||
/* 315 */
|
||||
"vfio-pci.display",
|
||||
"blockdev",
|
||||
"vfio-ap",
|
||||
);
|
||||
|
||||
|
||||
@ -1092,6 +1093,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
|
||||
{ "vhost-vsock-device", QEMU_CAPS_DEVICE_VHOST_VSOCK },
|
||||
{ "mch", QEMU_CAPS_DEVICE_MCH },
|
||||
{ "sev-guest", QEMU_CAPS_SEV_GUEST },
|
||||
{ "vfio-ap", QEMU_CAPS_DEVICE_VFIO_AP },
|
||||
};
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsDevicePropsVirtioBalloon[] = {
|
||||
|
@ -492,6 +492,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
/* 315 */
|
||||
QEMU_CAPS_VFIO_PCI_DISPLAY, /* -device vfio-pci.display */
|
||||
QEMU_CAPS_BLOCKDEV, /* -blockdev and blockdev-add are supported */
|
||||
QEMU_CAPS_DEVICE_VFIO_AP, /* -device vfio-ap */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
Loading…
Reference in New Issue
Block a user