[libvirt] [PATCH 3/6] conf: Introduce infrastructure to add config validation to define time

Peter Krempa pkrempa at redhat.com
Wed May 18 05:39:48 UTC 2016

On Tue, May 17, 2016 at 23:04:19 -0600, Jim Fehlig wrote:
> On 05/17/2016 08:25 AM, Peter Krempa wrote:
> > Recently there were a few patches adding checks to the post parse
> > callback infrastructure that rejected previously accepted configuration.
> > This unfortunately was not acceptable since we would fail to load the
> > configs from the disk and the VMs would vanish.
> Would these patches only affect the qemu driver in this way, or other drivers as
> well?

Currently the code is done only for the qemu driver. Other drivers need
to add calls to virDomainDefValidate or as in qemu driver's case to
'drv'DomainDefValidate and call them from apropriate places where the
XML definition is parsed. I currently opted to add this just to the qemu
driver, but it certainly can be applied to any other driver.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160518/91412f15/attachment-0001.sig>

More information about the libvir-list mailing list