diff --git a/QA.sh b/QA.sh index 8694593..1861a87 100755 --- a/QA.sh +++ b/QA.sh @@ -37,7 +37,9 @@ if [ "$CPU_MODEL" = "" ]; then CPU_MODEL=Opteron_G1 fi -appendLine="console=0 nobootprompt=tcp maxcores=1024 fs=10.0.2.2 auth=10.0.2.2 nvram=/boot/nvram nvrlen=512 nvroff=0 $KAPPEND" +QEMU_USER=`whoami` + +appendLine="console=0 nobootprompt=tcp maxcores=1024 fs=10.0.2.2 auth=10.0.2.2 nvram=/boot/nvram nvrlen=512 nvroff=0 qemu-user=$QEMU_USER $KAPPEND" appendLine="-append '$appendLine'" kernelLine="-kernel $KERNEL $*" if [ "$DISK" = "" ]; then diff --git a/runOver9P.sh b/runOver9P.sh index 3d831cb..ba0708c 100755 --- a/runOver9P.sh +++ b/runOver9P.sh @@ -49,6 +49,8 @@ if [ "$NCPU" = "" ]; then NCPU=4 fi +QEMU_USER=`whoami` + cd $KERNDIR read -r cmd <