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
no /rootfs/ anymore in test mv path
[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
46279f8
..
6b2bbe5
100755
(executable)
--- a/
system/template-qemu/qemu-start-node
+++ b/
system/template-qemu/qemu-start-node
@@
-16,7
+16,7
@@
cd $(dirname $0)
########## globals
# 1 gigabyte ram
RAM=1024
########## globals
# 1 gigabyte ram
RAM=1024
-DISK_SIZE=1
8
G
+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
@@
-47,9
+47,9
@@
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
, but unless we find /root/no-kvm as this is broken on some h/w
-
[ -f /root/no-kvm ] ||
has_kvm=$(type -p qemu-kvm)
-if [ -n "has_kvm" ] ; then
+# use kvm if available
+has_kvm=$(type -p qemu-kvm)
+if [ -n "
$
has_kvm" ] ; then
QEMU="qemu-kvm" ; ARGS=""
else
case $TARGET_ARCH in
QEMU="qemu-kvm" ; ARGS=""
else
case $TARGET_ARCH in