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