aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-06-18 10:20:17 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-06-18 10:20:17 +0100
commitd914b94a3f272e29be3137517f3665844e9442a4 (patch)
tree3fba3f99609db168cd5cad5ee4c2130f6a2eb718 /stubdom
parent8f771d00bf535e52baa3864b06451a820de598a1 (diff)
downloadxen-d914b94a3f272e29be3137517f3665844e9442a4.tar.gz
xen-d914b94a3f272e29be3137517f3665844e9442a4.tar.bz2
xen-d914b94a3f272e29be3137517f3665844e9442a4.zip
stubdoms: qemu monitor support
Add support for the qemu monitor in a stubdom, the same way the emulated serial support was added few days ago. The stubdom exports the monitor as a pty and minios opens a console frontend; qemu in dom0 provides the correspondent backend for this additional pv console that happens to be the qemu monitor. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'stubdom')
-rw-r--r--stubdom/stubdom-dm5
1 files changed, 5 insertions, 0 deletions
diff --git a/stubdom/stubdom-dm b/stubdom/stubdom-dm
index 956c1dbd9c..5161e1d0ee 100644
--- a/stubdom/stubdom-dm
+++ b/stubdom/stubdom-dm
@@ -56,6 +56,10 @@ do
serial="$2"
shift
;;
+ -monitor)
+ monitor="$2"
+ shift
+ ;;
esac
fi
case "$1" in
@@ -104,6 +108,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 "$monitor" && vfb="$vfb, monitor=$monitor"
test "$serial" && vfb="$vfb, serial=$serial"
echo "vfb = ['$vfb']" >> /etc/xen/stubdoms/$domname-dm