comment for keeping track of the memory size
[tests.git] / system / template-qemu / qemu-start-node
index afbb590..bef38de 100755 (executable)
@@ -14,9 +14,12 @@ COMMAND=$(basename $0)
 cd $(dirname $0)
 
 ########## globals
-# 1 gigabyte ram
-RAM=1024
-DISK_SIZE=18G
+# use 2Gb to be safe now that we have a big infra
+# 1Gb used to be anough up to f18
+# with f20 we went to 1.5 Gb
+# with f21 1.5 Gb might be enough too, but we now have much more memory space so WTH
+RAM=2048
+DISK_SIZE=100G
 DISK_FORMAT=qcow2
 DISK_IMAGE=hdd-${DISK_FORMAT}-${DISK_SIZE}.img
 
@@ -47,9 +50,8 @@ function is_64bits () {
 # the launcher, depending on target arch
 # make sure to check qemu-kill-node for consistency
 
-# use kvm if available, but unless we find /root/no-kvm as this is broken on some h/w
-has_kvm=""
-[ -f /root/no-kvm ] || has_kvm=$(type -p qemu-kvm)
+# use kvm if available
+has_kvm=$(type -p qemu-kvm)
 if [ -n "$has_kvm" ] ; then
     QEMU="qemu-kvm" ; ARGS=""
 else