1 <domain type='%(engine)s'>
3 <memory unit='KiB'>%(memory)s</memory>
5 <cpu mode='host-passthrough'/>
7 <type arch='%(arch)s'>hvm</type>
8 <boot dev='%(bootdev)s'/>
9 <bootmenu enable='no'/>
17 <on_poweroff>destroy</on_poweroff>
18 <on_reboot>restart</on_reboot>
19 <on_crash>restart</on_crash>
21 <controller type='scsi' model='virtio-scsi' index='0'/>
22 <disk type='file' device='disk'>
23 <driver name='qemu' type='qcow2' cache='unsafe'/>
24 <source file='%(imagefile)s'/>
25 <target dev='sda' bus='%(diskbus)s'/>
29 %(enable_serial_console)s
30 <input type='mouse' bus='ps2'/>
31 <graphics type='vnc' port='-1' autoport='yes'/>
33 <model type='cirrus' vram='9216' heads='1'/>