aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples/xmexample.hvm
diff options
context:
space:
mode:
authorjrb44@plym.cl.cam.ac.uk <jrb44@plym.cl.cam.ac.uk>2006-02-02 19:15:22 +0100
committerjrb44@plym.cl.cam.ac.uk <jrb44@plym.cl.cam.ac.uk>2006-02-02 19:15:22 +0100
commite1aded64c50200c03c296f65867aad6355ad62c3 (patch)
treeb0b9f8e30378728d5a11bb54537910d00beda611 /tools/examples/xmexample.hvm
parentd0b7c7a50917dca44b4a236434e9f453a0a93d35 (diff)
downloadxen-e1aded64c50200c03c296f65867aad6355ad62c3.tar.gz
xen-e1aded64c50200c03c296f65867aad6355ad62c3.tar.bz2
xen-e1aded64c50200c03c296f65867aad6355ad62c3.zip
There is a known "xm console" issue related with VMX. When "serial" is
enabled in script and no once uses "xm console" to read the console, VMX boting will hang due to the buffer is full. I added a "select" before "write". If it could not be written, unix_write will Return immediately and it will not block the VMX booting. With this fix, we can make VMX's serial enable by default. Signed-off-by: Yu Ping <ping.y.yu@intel.com> Modified to patch xmexample.hvm. Put through xenrt on a VMX box. Signed-off-by: James Bulpin <james@xensource.com>
Diffstat (limited to 'tools/examples/xmexample.hvm')
-rw-r--r--tools/examples/xmexample.hvm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/examples/xmexample.hvm b/tools/examples/xmexample.hvm
index a1b893b0d5..5cdf03dc83 100644
--- a/tools/examples/xmexample.hvm
+++ b/tools/examples/xmexample.hvm
@@ -130,7 +130,7 @@ vncviewer=1
#-----------------------------------------------------------------------------
# serial port re-direct to pty deivce, /dev/pts/n
# then xm console or minicom can connect
-#serial='pty'
+serial='pty'
#----------------------------------------------------------------------------
# enable ne2000, default = 0(use pcnet)