[libvirt-users] Undoing domiftune changes

If I apply some network limits with domiftune, how do I undo them (without restarting the VM?) So let's say I did: # virsh domiftune SRVID8736 vnet0 inbound.average: 0 inbound.peak : 0 inbound.burst : 0 outbound.average: 0 outbound.peak : 0 outbound.burst : 0 # virsh domiftune SRVID8736 vnet0 --outbound 1000,1000,1000 How I do revert this back to what it was before I set it? If I try "--outbound 0,0,0" it fails, saying "error: outbound average is mandatory"

On 17.03.2014 21:40, Brian Rak wrote:
If I apply some network limits with domiftune, how do I undo them (without restarting the VM?)
So let's say I did:
# virsh domiftune SRVID8736 vnet0 inbound.average: 0 inbound.peak : 0 inbound.burst : 0 outbound.average: 0 outbound.peak : 0 outbound.burst : 0
# virsh domiftune SRVID8736 vnet0 --outbound 1000,1000,1000
How I do revert this back to what it was before I set it? If I try "--outbound 0,0,0" it fails, saying "error: outbound average is mandatory"
Huh, this is interesting question. I've proposed a patch: https://www.redhat.com/archives/libvir-list/2014-March/msg01065.html It's a bug in our code. Stay tuned. Michal
participants (2)
-
Brian Rak
-
Michal Privoznik