diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2017-10-25 12:45:03 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2017-10-27 14:59:29 +0200 |
commit | bc8a99ef06417a2303ccab455f9f045e2a617916 (patch) | |
tree | baa4c8d269d9b31cd3ff194beaa4f967634fa0ca | |
parent | 98696fd170b7ff4ecd4b8499ee1952f11cb26e46 (diff) | |
download | libvirt-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.h | 2 |
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: |