[libvirt] [PATCH v2 00/10] Add domain config validation infrastructure

Peter Krempa pkrempa at redhat.com
Mon Jun 6 06:34:53 UTC 2016


On Fri, May 27, 2016 at 14:21:49 +0200, Peter Krempa wrote:
> Similarly to post parse callbacks let's add infrastructure that will allow us
> to introduce checks that will reject configrations that were previously valid.
> 
> This is achieved by flagging all the entry points to the config parser that need
> to ignore invadid configurations and adding a callback infrastructure for 
> driver specific checks.
> 
> Peter Krempa (10):
>   conf: Rename VIR_DOMAIN_DEF_PARSE_VALIDATE to
>     VIR_DOMAIN_DEF_PARSE_VALIDATE_SCHEMA
>   conf: Add infrastructure for adding configuration validation
>   conf: drop 'def' from struct virDomainDefPostParseDeviceIteratorData
>   conf: Add device def validation callback
>   qemu: process: Unexport qemuProcessStartValidate
>   qemu: process: Convert multiple boolean args to a single flag
>   qemu: process: Call the domain config validator when starting a new VM
>   conf: Move disk info validator to the domain conf validator
>   conf: Move validation of disk LUN device to the appropriate place
>   qemu: Move check that validates 'min_guarantee' to
>     qemuDomainDefValidate

Ping.




More information about the libvir-list mailing list