domcapabilities

Prints an XML document that describes the hypervisor capabilities.

Syntax


1  domcapabilities?   --machine <machine>

Selected options

<machine>
Is a supported hypervisor version as listed by the qemu-kvm --machine help command. If this option is omitted, the XML document for the default hypervisor version is displayed.

Usage

Configuring the CPU model

Example

# virsh domcapabilities --machine s390-ccw-virtio-6.2
<domainCapabilities>
  <path>/usr/bin/qemu-system-s390x</path>
  <domain>kvm</domain>
  <machine>s390-ccw-virtio-6.2</machine>
  <arch>s390x</arch>
  <vcpu max='248'/>
  ...
  <cpu>
    <mode name='host-passthrough' supported='yes'/>
    <mode name='host-model' supported='yes'>
      <model fallback='forbid'>z13s-base</model>
      <feature policy='require' name='aefsi'/>
      <feature policy='require' name='msa5'/>
      <feature policy='require' name='msa4'/> 
      ...
    </mode>
    <mode name='custom' supported='yes'>
      <model usable='yes'>z10EC-base</model>
      <model usable='yes'>z9EC-base</model>
      <model usable='yes'>z196.2-base</model>
      ...
    </mode>
  </cpu>
  ...
</domainCapabilities>