mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
qemu: add vhost-vdpa capability
Recent versions of qemu added the -netdev vhost-vdpa device. This capability allows libvirt to know whether this is supported. Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Reviewed-by: Laine Stump <laine@redhat.com>
This commit is contained in:
parent
08f8fd8413
commit
9825f71b53
@ -602,6 +602,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
"usb-host.hostdevice",
|
||||
"virtio-balloon.free-page-reporting",
|
||||
"block-export-add",
|
||||
"netdev.vhost-vdpa",
|
||||
);
|
||||
|
||||
|
||||
@ -1535,6 +1536,7 @@ static struct virQEMUCapsStringFlags virQEMUCapsQMPSchemaQueries[] = {
|
||||
{ "migrate-set-parameters/arg-type/downtime-limit", QEMU_CAPS_MIGRATION_PARAM_DOWNTIME },
|
||||
{ "migrate-set-parameters/arg-type/xbzrle-cache-size", QEMU_CAPS_MIGRATION_PARAM_XBZRLE_CACHE_SIZE },
|
||||
{ "set-numa-node/arg-type/+hmat-lb", QEMU_CAPS_NUMA_HMAT },
|
||||
{ "netdev_add/arg-type/+vhost-vdpa", QEMU_CAPS_NETDEV_VHOST_VDPA },
|
||||
};
|
||||
|
||||
typedef struct _virQEMUCapsObjectTypeProps virQEMUCapsObjectTypeProps;
|
||||
|
@ -582,6 +582,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
QEMU_CAPS_USB_HOST_HOSTDEVICE, /* -device usb-host.hostdevice */
|
||||
QEMU_CAPS_VIRTIO_BALLOON_FREE_PAGE_REPORTING, /*virtio balloon free-page-reporting */
|
||||
QEMU_CAPS_BLOCK_EXPORT_ADD, /* 'block-export-add' command is supported */
|
||||
QEMU_CAPS_NETDEV_VHOST_VDPA, /* -netdev vhost-vdpa*/
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -244,6 +244,7 @@
|
||||
<flag name='blockdev-hostdev-scsi'/>
|
||||
<flag name='usb-host.hostdevice'/>
|
||||
<flag name='virtio-balloon.free-page-reporting'/>
|
||||
<flag name='netdev.vhost-vdpa'/>
|
||||
<version>5001000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100242</microcodeVersion>
|
||||
|
@ -246,6 +246,7 @@
|
||||
<flag name='usb-host.hostdevice'/>
|
||||
<flag name='virtio-balloon.free-page-reporting'/>
|
||||
<flag name='block-export-add'/>
|
||||
<flag name='netdev.vhost-vdpa'/>
|
||||
<version>5001050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100243</microcodeVersion>
|
||||
|
Loading…
x
Reference in New Issue
Block a user