[libvirt] [PATCHv2 1/9] conf: better <disk> interleaving in schema

Jiri Denemark jdenemar at redhat.com
Tue Apr 15 11:51:36 UTC 2014


On Mon, Apr 14, 2014 at 16:54:12 -0600, Eric Blake wrote:
> In general, we try to make virt-xml-validate tolerant of input
> elements in any order when possible.  However, as written, the
> RNG grammar did not permit <source> unless there was an explicit
> type= attribute (even though the C code manages just fine by
> defaulting to type='file').  After making the attribute optional
> on the 'file' branch, I noticed that the use of diskspec was now
> redundant with the branch when no <source> was supplied.
> 
> View this patch with 'git diff -b' for a better picture of the
> schema change.

I did that and also checked the result. ACK

Jirka




More information about the libvir-list mailing list