[libvirt] [PATCH 2/7] RNG schema: allow plain @floor to <bandwidth/>

Laine Stump laine at laine.org
Wed Apr 15 16:19:50 UTC 2015


On 04/14/2015 12:59 PM, Michal Privoznik wrote:
> The <inbound/> element to <bandwidth/> has several attributes from
> which two are mandatory. Well, from two at least one has to be
> present: @average or @floor or both. Instead of inventing crazy RNG
> schema, let's make all the attributes optional there and rely on our
> parsing code to correctly handle the situation.

Agreed. Using the RNG as a sanity check is nice, but it's easy to become
obsessed with making it too picky.

ACK.




More information about the libvir-list mailing list