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'/> |
Adam Gandelman | ffd66ad | 2014-11-17 12:26:08 -0800 | [diff] [blame] | 9 | %(bios_serial)s |
Alexander Gordeev | 06fb29c | 2014-01-31 18:02:07 +0400 | [diff] [blame] | 10 | </os> |
| 11 | <features> |
| 12 | <acpi/> |
| 13 | <apic/> |
| 14 | <pae/> |
| 15 | </features> |
| 16 | <clock offset='utc'/> |
| 17 | <on_poweroff>destroy</on_poweroff> |
| 18 | <on_reboot>restart</on_reboot> |
| 19 | <on_crash>restart</on_crash> |
| 20 | <devices> |
| 21 | <emulator>%(emulator)s</emulator> |
| 22 | <disk type='file' device='disk'> |
| 23 | <driver name='qemu' type='qcow2' cache='writeback'/> |
| 24 | <source file='%(imagefile)s'/> |
| 25 | <target dev='vda' bus='virtio'/> |
| 26 | <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> |
| 27 | </disk> |
| 28 | <controller type='ide' index='0'> |
| 29 | <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> |
| 30 | </controller> |
Adam Gandelman | 8af6fae | 2014-04-11 17:06:14 -0700 | [diff] [blame] | 31 | <interface type='network'> |
| 32 | <source network='%(network)s'/> |
| 33 | <virtualport type='openvswitch'/> |
| 34 | <model type='%(nicdriver)s'/> |
| 35 | <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> |
| 36 | </interface> |
Alexander Gordeev | 06fb29c | 2014-01-31 18:02:07 +0400 | [diff] [blame] | 37 | <input type='mouse' bus='ps2'/> |
| 38 | <graphics type='vnc' port='-1' autoport='yes'/> |
| 39 | <video> |
| 40 | <model type='cirrus' vram='9216' heads='1'/> |
| 41 | <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> |
| 42 | </video> |
Adam Gandelman | 8af6fae | 2014-04-11 17:06:14 -0700 | [diff] [blame] | 43 | %(console_log)s |
Alexander Gordeev | 06fb29c | 2014-01-31 18:02:07 +0400 | [diff] [blame] | 44 | <memballoon model='virtio'> |
| 45 | <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> |
| 46 | </memballoon> |
| 47 | </devices> |
| 48 | </domain> |
| 49 | |