aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom/stubdom-dm
diff options
context:
space:
mode:
Diffstat (limited to 'stubdom/stubdom-dm')
-rw-r--r--stubdom/stubdom-dm7
1 files changed, 6 insertions, 1 deletions
diff --git a/stubdom/stubdom-dm b/stubdom/stubdom-dm
index a800bc4746..f471e82b36 100644
--- a/stubdom/stubdom-dm
+++ b/stubdom/stubdom-dm
@@ -15,6 +15,7 @@ domname=
vncviewer=0
vncpid=
extra=
+videoram=4
while [ "$#" -gt 0 ];
do
if [ "$#" -ge 2 ];
@@ -38,6 +39,10 @@ do
extra="$extra -loadvm $2";
shift
;;
+ -videoram)
+ videoram="$2"
+ shift
+ ;;
esac
fi
case "$1" in
@@ -72,7 +77,7 @@ do
sleep 1
done
-creation="xm create -c $domname-dm target=$domid memory=32 extra=\"$extra\""
+creation="xm create -c $domname-dm target=$domid memory=32 videoram=$videoram extra=\"$extra\""
(while true ; do sleep 60 ; done) | /bin/sh -c "$creation" &
#xterm -geometry +0+0 -e /bin/sh -c "$creation ; echo ; echo press ENTER to shut down ; read" &