mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-26 21:57:33 +03:00
As outlined here: https://www.redhat.com/archives/virt-tools-list/2012-February/msg00040.html For now this is just a direct import of the code from virtinst commit dca5a4d6245f21d554f8853197a6a234bfc8e52c. History is not merged, so please refer to original git for detailed commit histor: http://git.fedorahosted.org/cgit/python-virtinst.git/
29 lines
851 B
XML
29 lines
851 B
XML
<domain type='xen'>
|
|
<name>TestGuest</name>
|
|
<uuid>12345678-1234-1234-1234-123456789012</uuid>
|
|
<memory>409600</memory>
|
|
<currentMemory>204800</currentMemory>
|
|
<vcpu>5</vcpu>
|
|
<bootloader>/usr/bin/pygrub</bootloader>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<devices>
|
|
<disk type='file' device='disk'>
|
|
<source file='/tmp/test1.img'/>
|
|
<target dev='xvda' bus='xen'/>
|
|
</disk>
|
|
<disk type='file' device='disk'>
|
|
<driver name='tap' type='qcow'/>
|
|
<source file='/tmp/test2.img'/>
|
|
<target dev='xvdb' bus='xen'/>
|
|
</disk>
|
|
<disk type='block' device='disk'>
|
|
<source dev='/dev/loop0'/>
|
|
<target dev='xvdc' bus='xen'/>
|
|
</disk>
|
|
<input type='mouse' bus='xen'/>
|
|
<graphics type='vnc' port='-1' keymap='ja'/>
|
|
</devices>
|
|
</domain>
|