libvirt/tests/lxcconf2xmldata/lxcconf2xml-cputune.xml
2014-07-23 15:12:37 +08:00

32 lines
791 B
XML

<domain type='lxc'>
<name>migrate_test</name>
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
<memory unit='KiB'>65536</memory>
<currentMemory unit='KiB'>0</currentMemory>
<vcpu placement='static'>1</vcpu>
<cputune>
<shares>1024</shares>
<period>500000</period>
<quota>-1</quota>
</cputune>
<os>
<type>exe</type>
<init>/sbin/init</init>
</os>
<features>
<privnet/>
<capabilities policy='allow'>
</capabilities>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/var/lib/lxc/migrate_test/rootfs'/>
<target dir='/'/>
</filesystem>
</devices>
</domain>