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)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to