From 57697e045edcfb6cce7cd794b8523f1fc42c8eed Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Tue, 12 Feb 2008 15:59:15 +0000 Subject: [PATCH] *Starting the kqemu patch module (if installed ) *Fix the hard disk size and memory extention for the Qemu emulated nodes. --- system/template-Qemu/env-qemu | 3 +++ system/template-Qemu/start-qemu-node | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/system/template-Qemu/env-qemu b/system/template-Qemu/env-qemu index f66a348..4659eb2 100755 --- a/system/template-Qemu/env-qemu +++ b/system/template-Qemu/env-qemu @@ -36,6 +36,9 @@ start () { echo "Starting the udev ..." /sbin/udevd restart #Loding the tun/tap model + echo "Loading the kqemu patch module ..." + modprobe kqemu + #Loding the tun/tap model echo "Loading the tun module ..." modprobe tun set $(lsmod | grep tun) >/dev/null diff --git a/system/template-Qemu/start-qemu-node b/system/template-Qemu/start-qemu-node index 40692b1..1db1117 100755 --- a/system/template-Qemu/start-qemu-node +++ b/system/template-Qemu/start-qemu-node @@ -18,7 +18,7 @@ FILENAME=hda_5.raw HDA=~/${NODE_DIR}/${FILENAME}; # qemu parameters -RAM=320; +RAM=520; TAP="tap,script=$SCRIPT"; #check for the creation of new HDA if [ -e "$HDA" ]; then @@ -28,7 +28,7 @@ fi #Creating new HDA echo "Creating hard disk for Qemu install under $HDA" cd ~/$NODE_DIR -set $(qemu-img create $FILENAME 5G) +set $(qemu-img create $FILENAME 10G) if [ -z "$1" ];then echo "Can't Create disk image..." exit 1 -- 2.47.0