summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2017-10-25 12:45:03 +0200
committerMichal Privoznik <mprivozn@redhat.com>2017-10-27 14:59:29 +0200
commitbc8a99ef06417a2303ccab455f9f045e2a617916 (patch)
treebaa4c8d269d9b31cd3ff194beaa4f967634fa0ca
parent98696fd170b7ff4ecd4b8499ee1952f11cb26e46 (diff)
downloadlibvirt-3.9.0-rc2.tar.gz
virNetDevSupportBandwidth: Enable QoS for vhostuserv3.9.0-rc2
Since vhostuser type is really a tap that is just plugged into different type of bridge, supporting QoS is trivial. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
-rw-r--r--src/conf/netdev_bandwidth_conf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf/netdev_bandwidth_conf.h b/src/conf/netdev_bandwidth_conf.h
index 30f988953c..c378280654 100644
--- a/src/conf/netdev_bandwidth_conf.h
+++ b/src/conf/netdev_bandwidth_conf.h
@@ -46,9 +46,9 @@ static inline bool virNetDevSupportBandwidth(virDomainNetType type)
case VIR_DOMAIN_NET_TYPE_NETWORK:
case VIR_DOMAIN_NET_TYPE_DIRECT:
case VIR_DOMAIN_NET_TYPE_ETHERNET:
+ case VIR_DOMAIN_NET_TYPE_VHOSTUSER:
return true;
case VIR_DOMAIN_NET_TYPE_USER:
- case VIR_DOMAIN_NET_TYPE_VHOSTUSER:
case VIR_DOMAIN_NET_TYPE_SERVER:
case VIR_DOMAIN_NET_TYPE_CLIENT:
case VIR_DOMAIN_NET_TYPE_MCAST: