1 From: Josep Puigdemont <josep.puigdemont@enea.com>
2 Date: Wed, 4 May 2016 14:27:23 +0200
3 Subject: [PATCH] Fuel VM for the Enea Armband lab
5 This is the initial VM description fit for Enea's Armband lab.
7 Change-Id: Ia89f9728fff0ab1c279f6200fd558d9643cf4ea5
8 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
10 .../hardware_environment/vms/enea_lab/fuel.xml | 88 ++++++++++++++++++++++
11 1 file changed, 88 insertions(+)
12 create mode 100644 deploy/templates/hardware_environment/vms/enea_lab/fuel.xml
14 diff --git a/deploy/templates/hardware_environment/vms/enea_lab/fuel.xml b/deploy/templates/hardware_environment/vms/enea_lab/fuel.xml
16 index 0000000..8773ed4
18 +++ b/deploy/templates/hardware_environment/vms/enea_lab/fuel.xml
20 +<domain type='kvm' id='1'>
22 + <memory unit='KiB'>4194304</memory>
23 + <currentMemory unit='KiB'>4194304</currentMemory>
24 + <vcpu placement='static'>2</vcpu>
26 + <partition>/machine</partition>
29 + <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
32 + <bootmenu enable='no'/>
39 + <cpu mode='host-model'>
40 + <model fallback='allow'/>
42 + <clock offset='utc'>
43 + <timer name='rtc' tickpolicy='catchup'/>
44 + <timer name='pit' tickpolicy='delay'/>
45 + <timer name='hpet' present='no'/>
47 + <on_poweroff>destroy</on_poweroff>
48 + <on_reboot>restart</on_reboot>
49 + <on_crash>restart</on_crash>
51 + <suspend-to-mem enabled='no'/>
52 + <suspend-to-disk enabled='no'/>
55 + <emulator>/usr/libexec/qemu-kvm</emulator>
56 + <disk type='file' device='disk'>
57 + <driver name='qemu' type='qcow2' cache='writeback'/>
58 + <target dev='vda' bus='virtio'/>
60 + <disk type='block' device='cdrom'>
61 + <driver name='qemu' type='raw'/>
62 + <target dev='hdb' bus='ide'/>
65 + <controller type='usb' index='0' model='ich9-ehci1'>
67 + <controller type='usb' index='0' model='ich9-uhci1'>
68 + <master startport='0'/>
70 + <controller type='usb' index='0' model='ich9-uhci2'>
71 + <master startport='2'/>
73 + <controller type='usb' index='0' model='ich9-uhci3'>
74 + <master startport='4'/>
76 + <controller type='pci' index='0' model='pci-root'>
78 + <controller type='ide' index='0'>
80 + <controller type='virtio-serial' index='0'>
82 + <interface type='bridge'>
83 + <model type='virtio'/>
85 + <interface type='bridge'>
86 + <model type='virtio'/>
89 + <source path='/dev/pts/0'/>
92 + <console type='pty' tty='/dev/pts/0'>
93 + <source path='/dev/pts/0'/>
94 + <target type='serial' port='0'/>
96 + <input type='mouse' bus='ps2'/>
97 + <input type='keyboard' bus='ps2'/>
98 + <graphics type='vnc' port='5906' autoport='yes' listen='127.0.0.1'>
99 + <listen type='address' address='127.0.0.1'/>
102 + <model type='vga' vram='16384' heads='1'/>
104 + <memballoon model='virtio'>