]> xenbits.xensource.com Git - people/liuw/stubdom.git/commitdiff
xend: support multiple consoles per domain
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 16 Jun 2009 10:25:37 +0000 (11:25 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 16 Jun 2009 10:25:37 +0000 (11:25 +0100)
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
stubdom-dm

index be39fff8940d7355d4b42be6e0d062fa35830db6..956c1dbd9c3b91079a9788c3f21d77278af3236d 100644 (file)
@@ -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