Re: [libvirt] [PATCHv2] qemu: fix tc old rules will be cleaned if set tc new rules fail

2015-01-06 Thread Michal Privoznik
On 31.12.2014 02:34, Luyao Huang wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1177723 If tc cmd failed (maybe value too large) when we use virDomainSetInterfaceParameters , the old rules will be clean. Restore the old rules if tc failed. Signed-off-by: Luyao Huang --- v1 make a big mist

[libvirt] [PATCHv2] qemu: fix tc old rules will be cleaned if set tc new rules fail

2014-12-30 Thread Luyao Huang
https://bugzilla.redhat.com/show_bug.cgi?id=1177723 If tc cmd failed (maybe value too large) when we use virDomainSetInterfaceParameters , the old rules will be clean. Restore the old rules if tc failed. Signed-off-by: Luyao Huang --- v1 make a big mistake that i used a old libvirt src/qemu/q