Re: [libvirt] [PATCH] virNetworkLoadState: Disallow mangled 'floor' element

2014-02-10 Thread Michal Privoznik
On 10.02.2014 19:52, Eric Blake wrote: On 02/10/2014 11:30 AM, Michal Privoznik wrote: In the network status XML we may have the element with the 'sum' attribute. The attribute represents sum of all 'floor'-s of computed over each interface connected to the network (this is needed to guarantee

Re: [libvirt] [PATCH] virNetworkLoadState: Disallow mangled 'floor' element

2014-02-10 Thread Eric Blake
On 02/10/2014 11:30 AM, Michal Privoznik wrote: > In the network status XML we may have the element with the > 'sum' attribute. The attribute represents sum of all 'floor'-s of > computed over each interface connected to the network (this is needed to > guarantee certain bandwidth for certain doma

[libvirt] [PATCH] virNetworkLoadState: Disallow mangled 'floor' element

2014-02-10 Thread Michal Privoznik
In the network status XML we may have the element with the 'sum' attribute. The attribute represents sum of all 'floor'-s of computed over each interface connected to the network (this is needed to guarantee certain bandwidth for certain domain). The sum is therefore a number. However, if the numb