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

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

 



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.

Peter

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]