mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
1c4f3b56f8
This patch add support for file memory backing on numa topology. The specified access mode in memoryBacking can be overriden by specifying token memAccess in numa cell.
31 lines
853 B
XML
31 lines
853 B
XML
<domain type='kvm'>
|
|
<name>instance-00000092</name>
|
|
<uuid>126f2720-6f8e-45ab-a886-ec9277079a67</uuid>
|
|
<memory unit='KiB'>14680064</memory>
|
|
<currentMemory unit='KiB'>14680064</currentMemory>
|
|
<memoryBacking>
|
|
<source type='file'/>
|
|
<access mode='shared'/>
|
|
<allocation mode='immediate'/>
|
|
</memoryBacking>
|
|
<vcpu placement='static'>8</vcpu>
|
|
<os>
|
|
<type arch='x86_64' machine='pc-i440fx-wily'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<cpu>
|
|
<topology sockets='1' cores='8' threads='1'/>
|
|
<numa>
|
|
<cell id='0' cpus='0-7' memory='14680064' unit='KiB'/>
|
|
</numa>
|
|
</cpu>
|
|
<clock offset='utc' />
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
|
<memballoon model='virtio'/>
|
|
</devices>
|
|
</domain>
|