918a9f213e079f4c95dc166df6ad214d78483c55
[genesis.git] / compass / deploy / template / vm / compass.xml
1 <domain type='kvm'>
2   <name>compass</name>
3   <memory unit='MiB'>REPLACE_MEM</memory>
4   <currentMemory unit='MiB'>REPLACE_MEM</currentMemory>
5   <vcpu placement='static'>REPLACE_CPU</vcpu>
6   <os>
7     <type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type>
8     <boot dev='hd'/>
9     <boot dev='cdrom'/>
10   </os>
11   <features>
12     <acpi/>
13     <apic/>
14     <pae/>
15   </features>
16   <cpu mode='host-model'>
17     <model fallback='allow'/>
18     <feature policy='optional' name='vmx'/>
19     <feature policy='optional' name='svm'/>
20   </cpu>
21   <clock offset='utc'/>
22   <on_poweroff>destroy</on_poweroff>
23   <on_reboot>restart</on_reboot>
24   <on_crash>destroy</on_crash>
25   <devices>
26     <emulator>/usr/bin/kvm-spice</emulator>
27     <disk type='file' device='disk'>
28       <driver name='qemu' type='qcow2'/>
29       <source file='REPLACE_IMAGE'/>
30       <target dev='vda' bus='ide'/>
31   </disk>
32    <disk type='file' device='cdrom'>
33       <driver name='qemu' type='raw'/>
34       <source file='REPLACE_ISO'/>
35       <target dev='hdc' bus='ide'/>
36       <readonly/>
37     </disk>
38     <controller type='pci' index='0' model='pci-root'/>
39     <interface type='network'>
40       <source network='REPLACE_NET_MGMT'/>
41       <model type='virtio'/>
42       <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
43     </interface>
44     <interface type='bridge'>
45         <source bridge='REPLACE_BRIDGE_INSTALL'/>
46         <model type='virtio'/>
47       <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
48     </interface>
49     <serial type='pty'>
50       <target port='0'/>
51     </serial>
52     <console type='pty'>
53       <target type='serial' port='0'/>
54     </console>
55     <input type='mouse' bus='ps2'/>
56     <input type='keyboard' bus='ps2'/>
57     <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='en-us'>
58       <listen type='address' address='0.0.0.0'/>
59     </graphics>
60     <video>
61       <model type='cirrus' vram='9216' heads='1'/>
62     </video>
63   </devices>
64 </domain>