blob: 4f40334b7d98eb4cd93a41a11179d57febb61907 [file] [log] [blame]
Alexander Gordeev06fb29c2014-01-31 18:02:07 +04001<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>
Adam Gandelman8af6fae2014-04-11 17:06:14 -070030 <interface type='network'>
31 <source network='%(network)s'/>
32 <virtualport type='openvswitch'/>
33 <model type='%(nicdriver)s'/>
34 <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
35 </interface>
Alexander Gordeev06fb29c2014-01-31 18:02:07 +040036 <input type='mouse' bus='ps2'/>
37 <graphics type='vnc' port='-1' autoport='yes'/>
38 <video>
39 <model type='cirrus' vram='9216' heads='1'/>
40 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
41 </video>
Adam Gandelman8af6fae2014-04-11 17:06:14 -070042 %(console_log)s
Alexander Gordeev06fb29c2014-01-31 18:02:07 +040043 <memballoon model='virtio'>
44 <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
45 </memballoon>
46 </devices>
47</domain>
48