Re: [libvirt] [RFC] domain xml validation for source elements

2015-07-22 Thread Daniel P. Berrange
On Wed, Jul 22, 2015 at 01:43:12PM +0200, Boris Fiuczynski wrote: > I ran into a problem that was caused by a missing leading slash (/) in the > value of the file attribute of a disks source element. > Defining the domain worked without a problem. That's because 'virsh define' does not turn on sch

[libvirt] [RFC] domain xml validation for source elements

2015-07-22 Thread Boris Fiuczynski
I ran into a problem that was caused by a missing leading slash (/) in the value of the file attribute of a disks source element. Defining the domain worked without a problem. Editing the domain and trying to save it resulted in a very generic error message: error: XML document failed to valid