mirror of https://gitee.com/openkylin/libvirt.git
42 lines
1.1 KiB
XML
42 lines
1.1 KiB
XML
<domain type='lxc'>
|
|
<name>migrate_test</name>
|
|
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
|
<memory unit='KiB'>65536</memory>
|
|
<currentMemory unit='KiB'>65536</currentMemory>
|
|
<blkiotune>
|
|
<weight>500</weight>
|
|
<device>
|
|
<path>/dev/block/8:16</path>
|
|
<weight>1000</weight>
|
|
<read_iops_sec>4321</read_iops_sec>
|
|
<write_iops_sec>8765</write_iops_sec>
|
|
<read_bytes_sec>1234</read_bytes_sec>
|
|
<write_bytes_sec>5678</write_bytes_sec>
|
|
</device>
|
|
<device>
|
|
<path>/dev/block/8:0</path>
|
|
<weight>300</weight>
|
|
</device>
|
|
</blkiotune>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type>exe</type>
|
|
<init>/sbin/init</init>
|
|
</os>
|
|
<features>
|
|
<privnet/>
|
|
<capabilities policy='allow'/>
|
|
</features>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<emulator>/usr/libexec/libvirt_lxc</emulator>
|
|
<filesystem type='mount' accessmode='passthrough'>
|
|
<source dir='/var/lib/lxc/migrate_test/rootfs'/>
|
|
<target dir='/'/>
|
|
</filesystem>
|
|
</devices>
|
|
</domain>
|