mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-09 15:00:07 +00:00
2360fe5d24
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>
50 lines
1013 B
XML
50 lines
1013 B
XML
<capabilities>
|
|
|
|
<host>
|
|
<cpu>
|
|
<arch>i686</arch>
|
|
<features>
|
|
<vmx/>
|
|
</features>
|
|
</cpu>
|
|
<power_management/>
|
|
<migration_features>
|
|
<live/>
|
|
<uri_transports>
|
|
<uri_transport>xenmigr</uri_transport>
|
|
</uri_transports>
|
|
</migration_features>
|
|
</host>
|
|
|
|
<guest>
|
|
<os_type>xen</os_type>
|
|
<arch name='i686'>
|
|
<wordsize>32</wordsize>
|
|
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
|
<machine>xenpv</machine>
|
|
<domain type='xen'/>
|
|
</arch>
|
|
<features>
|
|
<pae/>
|
|
</features>
|
|
</guest>
|
|
|
|
<guest>
|
|
<os_type>hvm</os_type>
|
|
<arch name='i686'>
|
|
<wordsize>32</wordsize>
|
|
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
|
<machine>xenfv</machine>
|
|
<domain type='xen'/>
|
|
</arch>
|
|
<features>
|
|
<pae/>
|
|
<nonpae/>
|
|
<acpi default='on' toggle='yes'/>
|
|
<apic default='on' toggle='yes'/>
|
|
</features>
|
|
</guest>
|
|
|
|
</capabilities>
|