diff options
author | Jonathon Jongsma <jjongsma@redhat.com> | 2020-10-14 12:08:25 -0500 |
---|---|---|
committer | Laine Stump <laine@redhat.com> | 2020-10-20 14:46:52 -0400 |
commit | 08f8fd841383af3826ce7d40d97fc626595858db (patch) | |
tree | d3798186100018285ee9d3ce259453de6de54a09 /src/vmx | |
parent | c7fa462a879e2ae60aaa46f3b9fa91605cd188ab (diff) | |
download | libvirt-08f8fd841383af3826ce7d40d97fc626595858db.tar.gz |
conf: Add support for vDPA network devices
This patch adds new schema and adds support for parsing and formatting
domain configurations that include vdpa devices.
vDPA network devices allow high-performance networking in a virtual
machine by providing a wire-speed data path. These devices require a
vendor-specific host driver but the data path follows the virtio
specification.
When a device on the host is bound to an appropriate vendor-specific
driver, it will create a chardev on the host at e.g. /dev/vhost-vdpa-0.
That chardev path can then be used to define a new interface with
type='vdpa'.
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Diffstat (limited to 'src/vmx')
-rw-r--r-- | src/vmx/vmx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c index 51d88de750..5fac290a5e 100644 --- a/src/vmx/vmx.c +++ b/src/vmx/vmx.c @@ -3980,6 +3980,7 @@ virVMXFormatEthernet(virDomainNetDefPtr def, int controller, case VIR_DOMAIN_NET_TYPE_DIRECT: case VIR_DOMAIN_NET_TYPE_HOSTDEV: case VIR_DOMAIN_NET_TYPE_UDP: + case VIR_DOMAIN_NET_TYPE_VDPA: virReportError(VIR_ERR_CONFIG_UNSUPPORTED, _("Unsupported net type '%s'"), virDomainNetTypeToString(def->type)); return -1; |