qemumemlock-pseries-hardlimit+locked+hostdev.xml 596 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<domain type='kvm'>
  <name>guest</name>
  <memory unit='KiB'>1048576</memory>
  <memtune>
    <hard_limit unit='KiB'>2097152</hard_limit>
  </memtune>
  <memoryBacking>
    <locked/>
  </memoryBacking>
  <vcpu placement='static'>1</vcpu>
  <os>
    <type arch='ppc64' machine='pseries'>hvm</type>
  </os>
  <devices>
    <emulator>/usr/bin/qemu-system-ppc64</emulator>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
19
        <address domain='0x0001' bus='0x01' slot='0x00' function='0x0'/>
20 21 22 23
      </source>
    </hostdev>
  </devices>
</domain>