Alexander Gordeev | 06fb29c | 2014-01-31 18:02:07 +0400 | [diff] [blame^] | 1 | <domain type='%(engine)s'> |
| 2 | <name>%(name)s</name> |
| 3 | <memory unit='KiB'>%(memory)s</memory> |
| 4 | <vcpu>%(cpus)s</vcpu> |
| 5 | <os> |
| 6 | <type arch='%(arch)s' machine='pc-1.0'>hvm</type> |
| 7 | <boot dev='%(bootdev)s'/> |
| 8 | <bootmenu enable='no'/> |
| 9 | </os> |
| 10 | <features> |
| 11 | <acpi/> |
| 12 | <apic/> |
| 13 | <pae/> |
| 14 | </features> |
| 15 | <clock offset='utc'/> |
| 16 | <on_poweroff>destroy</on_poweroff> |
| 17 | <on_reboot>restart</on_reboot> |
| 18 | <on_crash>restart</on_crash> |
| 19 | <devices> |
| 20 | <emulator>%(emulator)s</emulator> |
| 21 | <disk type='file' device='disk'> |
| 22 | <driver name='qemu' type='qcow2' cache='writeback'/> |
| 23 | <source file='%(imagefile)s'/> |
| 24 | <target dev='vda' bus='virtio'/> |
| 25 | <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> |
| 26 | </disk> |
| 27 | <controller type='ide' index='0'> |
| 28 | <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> |
| 29 | </controller> |
| 30 | %(network)s |
| 31 | %(bm_network)s |
| 32 | <input type='mouse' bus='ps2'/> |
| 33 | <graphics type='vnc' port='-1' autoport='yes'/> |
| 34 | <video> |
| 35 | <model type='cirrus' vram='9216' heads='1'/> |
| 36 | <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> |
| 37 | </video> |
| 38 | <memballoon model='virtio'> |
| 39 | <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> |
| 40 | </memballoon> |
| 41 | </devices> |
| 42 | </domain> |
| 43 | |