2014-02-05 22:10:09 +08:00
|
|
|
<domain type='lxc'>
|
|
|
|
<name>migrate_test</name>
|
|
|
|
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
|
|
|
<memory unit='KiB'>1048576</memory>
|
|
|
|
<currentMemory unit='KiB'>0</currentMemory>
|
|
|
|
<memtune>
|
|
|
|
<hard_limit unit='KiB'>1048576</hard_limit>
|
|
|
|
<soft_limit unit='KiB'>131072</soft_limit>
|
|
|
|
<swap_hard_limit unit='KiB'>2097152</swap_hard_limit>
|
|
|
|
</memtune>
|
2014-04-07 15:22:39 +08:00
|
|
|
<vcpu placement='static'>1</vcpu>
|
2014-02-05 22:10:09 +08:00
|
|
|
<os>
|
|
|
|
<type>exe</type>
|
|
|
|
<init>/sbin/init</init>
|
|
|
|
</os>
|
|
|
|
<features>
|
|
|
|
<privnet/>
|
|
|
|
</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>
|