improve data processing script for rubbos
[bottlenecks.git] / utils / rubbos_dev_env_setup / libvirt_template.xml
1 <domain type='kvm'>
2   <name>REPLACE_NAME</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'>hvm</type>
8     <boot dev='hd'/>
9   </os>
10   <features>
11     <acpi/><apic/><pae/>
12   </features>
13   <clock offset="utc"/>
14   <on_poweroff>destroy</on_poweroff>
15   <on_reboot>restart</on_reboot>
16   <on_crash>restart</on_crash>
17   <devices>
18     <disk type='file' device='disk'>
19       <driver name='qemu' type='qcow2'/>
20       <source file='REPLACE_IMAGE'/>
21       <target dev='vda' bus='virtio'/>
22     </disk>
23     <disk type='file' device='cdrom'>
24       <driver name='qemu'/>
25       <source file='REPLACE_SEED_IMAGE'/>
26       <target dev='hdb'/>
27       <readonly/>
28     </disk>
29     <interface type='network'>
30       <source network='default'/>
31       <mac address='REPLACE_MAC_ADDR'/>
32       <model type='virtio'/>
33     </interface>
34     <input type='tablet' bus='usb'/>
35     <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0'/>
36     <console type='pty'/>
37     <video>
38       <model type='cirrus'/>
39     </video>
40   </devices>
41 </domain>