3 <memory>${ram}</memory>
4 <currentMemory>${ram}</currentMemory>
7 <type arch='x86_64'>hvm</type>
8 <!-- uncomment to enable PXE boot
17 <on_poweroff>preserve</on_poweroff>
18 <on_reboot>restart</on_reboot>
19 <on_crash>restart</on_crash>
21 <emulator>/usr/bin/qemu-system-x86_64</emulator>
22 <disk type='file' device='disk'>
23 <driver name='qemu' type='qcow2'/>
24 <source file='/var/lib/libvirt/images/${name}'/>
25 <target dev='vda' bus='virtio'/>
27 <disk type='file' device='disk'>
28 <driver name='qemu' type='raw'/>
29 <source file='/var/lib/libvirt/images/${name}-configuration.iso'/>
30 <target dev='vdb' bus='virtio'/>
32 <input type='mouse' bus='ps2'/>
33 <!-- uncomment to allow virsh console
36 <!-- uncomment to allow console to a log file -->
38 <source path='/var/log/libvirt/qemu/${name}-serial.log'/>
40 <alias name='serial0'/>
43 <source path='/dev/pts/1'/>
45 <alias name='serial1'/>
48 <source path='/var/log/libvirt/qemu/${name}-serial.log'/>
49 <target type='serial' port='0'/>
50 <alias name='serial0'/>
53 <graphics type='spice' port='-1' autoport='no'/>
55 <model type='qxl' ram='65536' vram='65536' heads='1'/>
56 <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
58 <memballoon model='virtio'/>
59 <interface type='bridge'>
60 <source bridge='${bridge}'/>
62 <model type='virtio'/>