From d914b94a3f272e29be3137517f3665844e9442a4 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 18 Jun 2009 10:20:17 +0100 Subject: 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 --- stubdom/stubdom-dm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'stubdom/stubdom-dm') 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 -- cgit v1.2.3