From: Michal Privoznik Date: Tue, 25 Oct 2016 10:18:23 +0000 (+0200) Subject: qemuDomainAttachNetDevice: Enable multiqueue for vhost-user X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=21db4ab0528ca6c78744148ca4b7515aaeb4d0bf;p=libvirt.git qemuDomainAttachNetDevice: Enable multiqueue for vhost-user https://bugzilla.redhat.com/show_bug.cgi?id=1386976 We have everything ready. Actually the only limitation was our check that denied hotplug of vhost-user. Signed-off-by: Michal Privoznik --- diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c index 61ab4440a5..fa96a76163 100644 --- a/src/qemu/qemu_hotplug.c +++ b/src/qemu/qemu_hotplug.c @@ -977,7 +977,8 @@ qemuDomainAttachNetDevice(virQEMUDriverPtr driver, !(actualType == VIR_DOMAIN_NET_TYPE_NETWORK || actualType == VIR_DOMAIN_NET_TYPE_BRIDGE || actualType == VIR_DOMAIN_NET_TYPE_DIRECT || - actualType == VIR_DOMAIN_NET_TYPE_ETHERNET)) { + actualType == VIR_DOMAIN_NET_TYPE_ETHERNET || + actualType == VIR_DOMAIN_NET_TYPE_VHOSTUSER)) { virReportError(VIR_ERR_CONFIG_UNSUPPORTED, _("Multiqueue network is not supported for: %s"), virDomainNetTypeToString(actualType));