mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
c8a6f844c3
Ploop is a pseudo device which makeit possible to access to an image in a file as a block device. Like loop devices, but with additional features, like snapshots, write tracker and without double-caching. It used in PCS for containers and in OpenVZ. You can manage ploop devices and images with ploop utility (http://git.openvz.org/?p=ploop). Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
33 lines
938 B
XML
33 lines
938 B
XML
<domain type='parallels'>
|
|
<name>1010</name>
|
|
<uuid>88576506-d611-41c2-b6b6-c9043704a0dd</uuid>
|
|
<description></description>
|
|
<memory unit='KiB'>262144</memory>
|
|
<currentMemory unit='KiB'>262144</currentMemory>
|
|
<vcpu placement='static'>8</vcpu>
|
|
<os>
|
|
<type arch='x86_64'>exe</type>
|
|
<init>/sbin/init</init>
|
|
</os>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>destroy</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<filesystem type='template'>
|
|
<source name='centos-6-x86_64'/>
|
|
<target dir='/'/>
|
|
</filesystem>
|
|
<filesystem type='file' accessmode='passthrough'>
|
|
<driver type='ploop' format='ploop'/>
|
|
<source file='/path/to/ploop/dir'/>
|
|
<target dir='/mnt'/>
|
|
</filesystem>
|
|
<video>
|
|
<model type='vga' vram='16777216' heads='1'>
|
|
<acceleration accel3d='no' accel2d='no'/>
|
|
</model>
|
|
</video>
|
|
</devices>
|
|
</domain>
|