[libvirt] [PATCH] capabilities: Format <domain/> properly

Ján Tomko jtomko at redhat.com
Fri Dec 12 12:43:35 UTC 2014


On 12/12/2014 01:31 PM, Michal Privoznik wrote:
> 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 at redhat.com>
> ---
>  src/conf/capabilities.c                      |  9 ++++++-
>  tests/capabilityschemadata/caps-qemu-kvm.xml | 36 ++++++++++------------------
>  tests/capabilityschemadata/caps-test.xml     |  6 ++---
>  tests/capabilityschemadata/caps-test2.xml    |  6 ++---
>  tests/xencapsdata/xen-i686-pae-hvm.xml       |  6 ++---
>  tests/xencapsdata/xen-i686-pae.xml           |  3 +--
>  tests/xencapsdata/xen-i686.xml               |  3 +--
>  tests/xencapsdata/xen-ia64-be-hvm.xml        |  6 ++---
>  tests/xencapsdata/xen-ia64-be.xml            |  3 +--
>  tests/xencapsdata/xen-ia64-hvm.xml           |  6 ++---
>  tests/xencapsdata/xen-ia64.xml               |  3 +--
>  tests/xencapsdata/xen-ppc64.xml              |  3 +--
>  tests/xencapsdata/xen-x86_64-hvm.xml         |  9 +++----
>  tests/xencapsdata/xen-x86_64.xml             |  3 +--
>  14 files changed, 39 insertions(+), 63 deletions(-)
> 

ACK after freeze.

Jan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141212/45a04d6d/attachment-0001.sig>


More information about the libvir-list mailing list