[Libvir] Proposed XML format for capabilities, with examples [long]
Richard W.M. Jones
rjones at redhat.com
Thu Mar 15 10:51:53 UTC 2007
Richard W.M. Jones wrote:
> Example: Xen
> ------------
>
> <capabilities>
> <host>
> <cpu_flags>
> <cpu_flag> vmx </cpu_flag>
> <cpu_flag> pae </cpu_flag> <!-- etc -->
> </cpu_flags>
> </host>
After some discussion with Daniel Veillard, I've evolved this into:
<capabilities>
<host>
<features>
<vmx/>
<pae/>
<!-- etc -->
</features>
</host>
(This reason for this is to be consistent with the features listed in
<domain> descriptions).
> <guest_architectures>
> <guest_architecture>
> <model> x86_64 </model>
> <paravirt> xen </paravirt>
> <domain_type> xen </domain_type>
> <emulator> /usr/lib/xen/bin/qemu-dm </emulator>
> </guest_architecture>
Also after discussion with DV:
<guest>
<architectures>
<architecture>
<!-- <model> etc. as above -->
<architecture>
</architectures>
</guest>
</capabilities>
(The reason for this is to reduce the verbosity of the XML and to allow
other guest-related non-architecture-related sections in a future version).
Rich.
--
Emerging Technologies, Red Hat http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF Mobile: +44 7866 314 421
"[Negative numbers] darken the very whole doctrines of the equations
and make dark of the things which are in their nature excessively
obvious and simple" (Francis Maseres FRS, mathematician, 1759)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070315/2d980dd4/attachment-0001.bin>
More information about the libvir-list
mailing list