[libvirt] [PATCHv2 07/15] xml: drop unenforced minimum memory limit from RNG
Peter Krempa
pkrempa at redhat.com
Tue Mar 6 15:41:48 UTC 2012
On 03/06/2012 01:34 AM, Eric Blake wrote:
> The test domain allows<memory>0</memory>, but the RNG was stating
> that memory had to be at least 4096000 bytes. Hypervisors should
> enforce their own limits, rather than complicating the RNG.
>
> Meanwhile, some copy and paste had introduced some fishy constructs
> in various unit tests.
>
> * docs/schemas/domaincommon.rng (memoryKB, memoryKBElement): Drop
> limit that isn't enforced in code.
> * src/conf/domain_conf.c (virDomainDefParseXML): Require current
> <= maximum.
> * tests/qemuxml2argvdata/*.xml: Fix offenders.
> ---
ACK,
Peter
More information about the libvir-list
mailing list