summaryrefslogtreecommitdiff
path: root/ubuntu
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2016-06-22 10:54:38 +0300
committerRiku Voipio <riku.voipio@linaro.org>2016-06-22 14:39:00 +0300
commit5d09e9c8d62c8876f1a33fe7198df555d0dd52bc (patch)
treee3c35142f57c3ab65f31f5d711032574657120a2 /ubuntu
parentc36a47a28b1ccb65d89ca243edd26b8da8a2d3de (diff)
kvm-cloud improvements
- Make guest CPU count a parameter - Make guest RAM a parameter - KVM can't migrate from A53 to A57, so tie juno to A53 cluster - remove the $cloudimage parameter since we always use same filename Change-Id: I0bfe12c52e5ec2590f664f9c34292d6512df45a9 Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'ubuntu')
-rw-r--r--ubuntu/start-kvm.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/ubuntu/start-kvm.yaml b/ubuntu/start-kvm.yaml
index 031a031..72b4df7 100644
--- a/ubuntu/start-kvm.yaml
+++ b/ubuntu/start-kvm.yaml
@@ -25,6 +25,10 @@ params:
GUEST_FIRMWARE: https://releases.linaro.org/components/kernel/uefi-linaro/15.12/release/qemu64/QEMU_EFI.fd
# kernel for platforms that are booted without firmware
GUEST_KERNEL: none
+ # how many cores to allocate to guest
+ GUEST_CORES: "2"
+ # how much RAM allocate to guest
+ GUEST_RAM: "1024"
install:
deps:
@@ -40,7 +44,7 @@ install:
run:
steps:
- 'lava-test-case kvm-init --shell [ -c /dev/kvm ]'
- - 'sudo ./common/scripts/kvm-cloud/start-kvm.sh $GUEST_ARCH $GUEST_IMAGE $GUEST_FIRMWARE $GUEST_KERNEL'
+ - 'sudo ./common/scripts/kvm-cloud/start-kvm.sh $GUEST_ARCH $GUEST_IMAGE $GUEST_FIRMWARE $GUEST_KERNEL $GUEST_CORES $GUEST_RAM'
- 'lava-send ipv4 ipaddr=$(./common/scripts/kvm-cloud/wait-ip.py)'
- lava-send lava_start
- lava-sync clients