]> xenbits.xensource.com Git - libvirt.git/commit
capabilities: Format <domain/> properly
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 11 Dec 2014 15:11:49 +0000 (16:11 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 24 Dec 2014 17:01:44 +0000 (18:01 +0100)
commit2360fe5d24175835d3f5fd1c7e8e6e13addab629
tree5a1b679989096cffe7c3bb243e8249f528805921
parent7c6dbf35183aa636ae31290beef14af937a3b248
capabilities: Format <domain/> properly

The <domain/> element under /capabilities/guest/arch/ can have no
child elements. If that's the case we format:

        <domain type='xen'>
        </domain>

instead of simpler:

        <domain type='xen'/>

This commit fixes that.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
14 files changed:
src/conf/capabilities.c
tests/capabilityschemadata/caps-qemu-kvm.xml
tests/capabilityschemadata/caps-test.xml
tests/capabilityschemadata/caps-test2.xml
tests/xencapsdata/xen-i686-pae-hvm.xml
tests/xencapsdata/xen-i686-pae.xml
tests/xencapsdata/xen-i686.xml
tests/xencapsdata/xen-ia64-be-hvm.xml
tests/xencapsdata/xen-ia64-be.xml
tests/xencapsdata/xen-ia64-hvm.xml
tests/xencapsdata/xen-ia64.xml
tests/xencapsdata/xen-ppc64.xml
tests/xencapsdata/xen-x86_64-hvm.xml
tests/xencapsdata/xen-x86_64.xml