]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemuDomainAttachNetDevice: Enable multiqueue for vhost-user
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 25 Oct 2016 10:18:23 +0000 (12:18 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 10 Nov 2016 15:47:32 +0000 (16:47 +0100)
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 <mprivozn@redhat.com>
src/qemu/qemu_hotplug.c

index 61ab4440a59ef5f2be6ad515a86b7159a41af5f8..fa96a761635dd5f7c0025737764777f7477e73c0 100644 (file)
@@ -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));