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'/>
19 <on_poweroff>destroy</on_poweroff>
20 <on_reboot>restart</on_reboot>
21 <on_crash>restart</on_crash>
23 <controller type='scsi' model='virtio-scsi' index='0'/>
24 <disk type='file' device='disk'>
25 <driver name='qemu' type='qcow2' cache='unsafe'/>
26 <source file='%(imagefile)s'/>
27 <target dev='sda' bus='%(diskbus)s'/>
31 %(enable_serial_console)s