virt-manager/tests/xmlparse-xml/change-filesystems-in.xml
Cédric Bosdonnat d888ff2394 Add lxc filesystem drivers: loop and nbd
These file systems drivers have been added in virtinst, but also in the
addhardware UI.
2014-01-21 09:29:13 -05:00

60 lines
1.7 KiB
XML

<domain type="xen">
<name>TestGuest</name>
<currentMemory>204800</currentMemory>
<memory>409600</memory>
<uuid>12345678-1234-1234-1234-123456789012</uuid>
<description>foooo barrrr somedesc</description>
<os>
<type arch="i686">hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev="hd"/>
</os>
<features>
<acpi/><apic/>
</features>
<clock offset="localtime"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<vcpu>5</vcpu>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type="block" device="floppy">
<source dev="/dev/null"/>
<target dev="fda" bus="fdc"/>
</disk>
<filesystem>
<driver type='handle'/>
<source dir='/foo/bar'/>
<target dir='/bar/baz'/>
</filesystem>
<filesystem type='template'>
<source name='template_fedora'/>
<target dir='/bar/baz'/>
</filesystem>
<filesystem type='mount' accessmode='squash'>
<driver type='path' wrpolicy='immediate'/>
<source dir='/foo/bar'/>
<target dir='/bar/baz'/>
</filesystem>
<filesystem type='mount' accessmode='mapped'>
<driver type='path'/>
<source dir='/foo/bar'/>
<target dir='/bar/baz'/>
</filesystem>
<filesystem type='ram'>
<source usage='1024' units='MB'/>
<target dir='/bar/baz'/>
</filesystem>
<filesystem type='block'>
<source dev='/foo/bar'/>
<target dir='/bar/baz'/>
</filesystem>
<filesystem type='file' accessmode='passthrough'>
<driver type='nbd' format='qcow'/>
<source file='/foo/bar.img'/>
<target dir='/bar/baz'/>
</filesystem>
</devices>
</domain>