diff options
author | jrb44@plym.cl.cam.ac.uk <jrb44@plym.cl.cam.ac.uk> | 2006-02-02 19:15:22 +0100 |
---|---|---|
committer | jrb44@plym.cl.cam.ac.uk <jrb44@plym.cl.cam.ac.uk> | 2006-02-02 19:15:22 +0100 |
commit | e1aded64c50200c03c296f65867aad6355ad62c3 (patch) | |
tree | b0b9f8e30378728d5a11bb54537910d00beda611 /tools/examples/xmexample.hvm | |
parent | d0b7c7a50917dca44b4a236434e9f453a0a93d35 (diff) | |
download | xen-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.hvm | 2 |
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) |