libvirt/tests/domaincapsschemadata
Jiri Denemark a1adfb0f06 qemu: Add support for unavailable-features
QEMU 2.8.0 adds support for unavailable-features in
query-cpu-definitions reply. The unavailable-features array lists CPU
features which prevent a corresponding CPU model from being usable on
current host. It can only be used when all the unavailable features are
disabled. Empty array means the CPU model can be used without
modifications.

We can use unavailable-features for providing CPU model usability info
in domain capabilities XML:

    <domainCapabilities>
      ...
      <cpu>
        <mode name='host-passthrough' supported='yes'/>
        <mode name='host-model' supported='yes'>
          <model fallback='allow'>Skylake-Client</model>
          ...
        </mode>
        <mode name='custom' supported='yes'>
          <model usable='yes'>qemu64</model>
          <model usable='yes'>qemu32</model>
          <model usable='no'>phenom</model>
          <model usable='yes'>pentium3</model>
          <model usable='yes'>pentium2</model>
          <model usable='yes'>pentium</model>
          <model usable='yes'>n270</model>
          <model usable='yes'>kvm64</model>
          <model usable='yes'>kvm32</model>
          <model usable='yes'>coreduo</model>
          <model usable='yes'>core2duo</model>
          <model usable='no'>athlon</model>
          <model usable='yes'>Westmere</model>
          <model usable='yes'>Skylake-Client</model>
          ...
        </mode>
      </cpu>
      ...
    </domainCapabilities>

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2016-11-28 09:11:22 +01:00
..
basic.xml domcaps: Add support for listing supported CPU models 2016-09-22 15:40:08 +02:00
full.xml Introduce framework for a hostdev SCSI_host subsystem type 2016-11-24 12:15:26 -05:00
libxl-xenfv-usb.xml domcaps: Add support for listing supported CPU models 2016-09-22 15:40:08 +02:00
libxl-xenfv.xml domcaps: Add support for listing supported CPU models 2016-09-22 15:40:08 +02:00
libxl-xenpv-usb.xml domcaps: Add support for listing supported CPU models 2016-09-22 15:40:08 +02:00
libxl-xenpv.xml domcaps: Add support for listing supported CPU models 2016-09-22 15:40:08 +02:00
qemu_1.7.0.x86_64.xml tests: Update capabilities for QEMU 1.7.0 2016-11-25 20:34:27 +01:00
qemu_2.6.0-gicv2-virt.aarch64.xml qemu: Avoid reporting "host" as a supported CPU model 2016-11-25 20:59:19 +01:00
qemu_2.6.0-gicv3-virt.aarch64.xml tests: Update capabilities for QEMU 2.6.0 (aarch64, GICv3) 2016-11-25 20:59:34 +01:00
qemu_2.6.0.aarch64.xml qemu: Avoid reporting "host" as a supported CPU model 2016-11-25 20:59:19 +01:00
qemu_2.6.0.ppc64le.xml tests: Update capabilities for QEMU 2.6.0 (ppc64le) 2016-11-25 20:59:57 +01:00
qemu_2.6.0.x86_64.xml tests: Update capabilities for QEMU 2.6.0 2016-11-25 20:34:27 +01:00
qemu_2.8.0-tcg.x86_64.xml qemu: Add support for unavailable-features 2016-11-28 09:11:22 +01:00
qemu_2.8.0.x86_64.xml qemu: Add support for unavailable-features 2016-11-28 09:11:22 +01:00