1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
<image>
<name>test-image</name>
<label>A simple test image</label>
<domain>
<boot type='xen'>
<guest>
<os_type>xen</os_type>
<arch>i686</arch>
<features><pae/></features>
</guest>
<os>
<kernel>/foo/kernel</kernel>
<initrd>/foo/initrd</initrd>
<cmdline>ro quiet</cmdline>
</os>
<drive disk="root.raw" target="xvda"/>
<drive disk="data.raw" target="xvdb"/>
<drive disk="scratch.raw" target="xvdc"/>
</boot>
<devices>
<vcpu>7</vcpu>
<memory>262144</memory>
<interface/>
<graphics/>
</devices>
</domain>
<storage>
<disk file="disk.img"/>
<disk size="4096" use="system">
<partition file="boot.img"/>
<partition file="root.img"/>
</disk>
<disk file="root.raw" format="raw" size="4096" use="scratch"/>
<disk file="data.raw" format="raw" size='2048' use="scratch"/>
<disk file="scratch.raw" format="raw" size='100' use='scratch'/>
</storage>
</image>
|