libvirt/tests/qemumemlockdata/qemumemlock-pseries-hardlimit+hostdev.xml
Andrea Bolognani 8cfe7d977a tests: Introduce QEMU memory locking limit tests
These tests cover a number of scenarios where we care about
the memory locking limit being set correctly for the guest
to work properly.
2017-03-28 10:54:50 +02:00

21 lines
545 B
XML

<domain type='kvm'>
<name>guest</name>
<memory unit='KiB'>1048576</memory>
<memtune>
<hard_limit unit='KiB'>2097152</hard_limit>
</memtune>
<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>
<address domain='0x0000' bus='0x04' slot='0x02' function='0x0'/>
</source>
</hostdev>
</devices>
</domain>