aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom/stubdom-dm
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-02-26 15:11:51 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-02-26 15:11:51 +0000
commit98317c0a457c92a7d199d4a2a72062a8dfed02cb (patch)
tree7a8c1b9a88cafe388e7d1c08380db1b17f0083ec /stubdom/stubdom-dm
parent480b3a06d1fd212851286a9803ffed70bbe3d9d9 (diff)
downloadxen-98317c0a457c92a7d199d4a2a72062a8dfed02cb.tar.gz
xen-98317c0a457c92a7d199d4a2a72062a8dfed02cb.tar.bz2
xen-98317c0a457c92a7d199d4a2a72062a8dfed02cb.zip
stubdom: log and documentation fixes
- Document that for vnclisten names and 127.0.0.1 should not be used. - Documentation cosmetic fixes - Dump qemu output to the usual logs Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'stubdom/stubdom-dm')
-rw-r--r--stubdom/stubdom-dm3
1 files changed, 2 insertions, 1 deletions
diff --git a/stubdom/stubdom-dm b/stubdom/stubdom-dm
index 3edeb9d2dc..0c629c6868 100644
--- a/stubdom/stubdom-dm
+++ b/stubdom/stubdom-dm
@@ -62,11 +62,12 @@ done
creation="xm create -c stubdom-$domname target=$domid memory=32"
-(while true ; do sleep 60 ; done) | $creation &
+(while true ; do sleep 60 ; done) | $creation > /var/log/xen/qemu-dm-$domid.log &
#xterm -geometry +0+0 -e /bin/sh -c "$creation ; echo ; echo press ENTER to shut down ; read" &
consolepid=$!
+# Wait for vnc server to appear
while ! vnc_port=`xenstore-read /local/domain/$domid/console/vnc-port`
do
# Check that the stubdom job is still alive