mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 22:03:49 +03:00
qemu: interface: remove setting noqueue for ovs port
Return 0 directly if the port is ovs managed. When the ovs port is set noqueue, qos config on this port will not work. Signed-off-by: Jinsheng Zhang <zhangjl02@inspur.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
7c07b48942
commit
e2c225f57c
@ -11599,7 +11599,8 @@ qemuDomainInterfaceSetDefaultQDisc(virQEMUDriver *driver,
|
||||
actualType == VIR_DOMAIN_NET_TYPE_NETWORK ||
|
||||
actualType == VIR_DOMAIN_NET_TYPE_BRIDGE ||
|
||||
actualType == VIR_DOMAIN_NET_TYPE_DIRECT) {
|
||||
if (virNetDevBandwidthSetRootQDisc(net->ifname, "noqueue") < 0)
|
||||
if (!virDomainNetDefIsOvsport(net) &&
|
||||
virNetDevBandwidthSetRootQDisc(net->ifname, "noqueue") < 0)
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user