[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]