git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
increase memory for test nodes to 2Gb
[tests.git]
/
system
/
template-qemu
/
qemu-start-node
diff --git
a/system/template-qemu/qemu-start-node
b/system/template-qemu/qemu-start-node
index
55484f1
..
7198b03
100755
(executable)
--- a/
system/template-qemu/qemu-start-node
+++ b/
system/template-qemu/qemu-start-node
@@
-14,9
+14,9
@@
COMMAND=$(basename $0)
cd $(dirname $0)
########## globals
cd $(dirname $0)
########## globals
-#
1 gigabyte
ram
-RAM=
1024
-DISK_SIZE=1
8
G
+#
2 gigabytes
ram
+RAM=
2048
+DISK_SIZE=1
00
G
DISK_FORMAT=qcow2
DISK_IMAGE=hdd-${DISK_FORMAT}-${DISK_SIZE}.img
DISK_FORMAT=qcow2
DISK_IMAGE=hdd-${DISK_FORMAT}-${DISK_SIZE}.img
@@
-46,8
+46,10
@@
function is_64bits () {
# the launcher, depending on target arch
# make sure to check qemu-kill-node for consistency
# the launcher, depending on target arch
# make sure to check qemu-kill-node for consistency
+
+# use kvm if available
has_kvm=$(type -p qemu-kvm)
has_kvm=$(type -p qemu-kvm)
-if [ -n "has_kvm" ] ; then
+if [ -n "
$
has_kvm" ] ; then
QEMU="qemu-kvm" ; ARGS=""
else
case $TARGET_ARCH in
QEMU="qemu-kvm" ; ARGS=""
else
case $TARGET_ARCH in