mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
qemuProcessStop: Don't try to remove QoS on already removed TAP
When cleaning up after stopped domain, one of the things we do is attempt to clear QoS settings on OVS type interfaces. Well, this is needless because they were removed just a couple of lines above. As a result, the attempt fails and a warning is printed into logs, polluting them needlessly. Closes: https://gitlab.com/libvirt/libvirt/-/issues/313 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
a5d9c70621
commit
14bd5036e4
@ -8166,12 +8166,6 @@ void qemuProcessStop(virQEMUDriver *driver,
|
|||||||
else
|
else
|
||||||
VIR_WARN("Unable to release network device '%s'", NULLSTR(net->ifname));
|
VIR_WARN("Unable to release network device '%s'", NULLSTR(net->ifname));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (virDomainNetDefIsOvsport(net) &&
|
|
||||||
virNetDevOpenvswitchInterfaceClearQos(net->ifname, vm->def->uuid) < 0) {
|
|
||||||
VIR_WARN("cannot clear bandwidth setting for ovs device : %s",
|
|
||||||
net->ifname);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
retry:
|
retry:
|
||||||
|
Loading…
Reference in New Issue
Block a user