mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +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>
62 lines
1.3 KiB
XML
62 lines
1.3 KiB
XML
<capabilities>
|
|
|
|
<host>
|
|
<cpu>
|
|
<arch>x86_64</arch>
|
|
<features>
|
|
<svm/>
|
|
</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='x86_64'>
|
|
<wordsize>64</wordsize>
|
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
|
<machine>xenpv</machine>
|
|
<domain type='xen'/>
|
|
</arch>
|
|
</guest>
|
|
|
|
<guest>
|
|
<os_type>hvm</os_type>
|
|
<arch name='i686'>
|
|
<wordsize>32</wordsize>
|
|
<emulator>/usr/lib64/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>
|
|
|
|
<guest>
|
|
<os_type>hvm</os_type>
|
|
<arch name='x86_64'>
|
|
<wordsize>64</wordsize>
|
|
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
|
|
<loader>/usr/lib/xen/boot/hvmloader</loader>
|
|
<machine>xenfv</machine>
|
|
<domain type='xen'/>
|
|
</arch>
|
|
<features>
|
|
<acpi default='on' toggle='yes'/>
|
|
<apic default='on' toggle='yes'/>
|
|
</features>
|
|
</guest>
|
|
|
|
</capabilities>
|