aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom/stubdom-dm
diff options
context:
space:
mode:
Diffstat (limited to 'stubdom/stubdom-dm')
-rw-r--r--stubdom/stubdom-dm5
1 files changed, 5 insertions, 0 deletions
diff --git a/stubdom/stubdom-dm b/stubdom/stubdom-dm
index be39fff894..956c1dbd9c 100644
--- a/stubdom/stubdom-dm
+++ b/stubdom/stubdom-dm
@@ -52,6 +52,10 @@ do
keymap=$2
shift
;;
+ -serial)
+ serial="$2"
+ shift
+ ;;
esac
fi
case "$1" in
@@ -100,6 +104,7 @@ test $vnc != 0 && vfb="$vfb, vnc=$vnc, vncdisplay=$vnc_port, vnclisten=$ip, vncu
vncpasswd=`xenstore-read /local/domain/0/backend/vfb/$domid/0/vncpasswd 2>/dev/null`
test "$vncpasswd" && vfb="$vfb, vncpasswd=$vncpasswd"
test "$keymap" && vfb="$vfb, keymap=$keymap"
+test "$serial" && vfb="$vfb, serial=$serial"
echo "vfb = ['$vfb']" >> /etc/xen/stubdoms/$domname-dm
echo -n "disk = [ " >> /etc/xen/stubdoms/$domname-dm