mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15:23 +00:00
8cfe7d977a
These tests cover a number of scenarios where we care about the memory locking limit being set correctly for the guest to work properly.
24 lines
593 B
XML
24 lines
593 B
XML
<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='x86_64' machine='pc'>hvm</type>
|
|
</os>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-x86_64</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>
|