diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-09-16 09:26:04 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-09-16 09:26:04 +0100 |
commit | e3cc5f93ca77e2b81435a47d76dd8d4cb7524ba2 (patch) | |
tree | ed604ebd0967d7e47d0e079077a7bd3cc231285d /xen/drivers/char/console.c | |
parent | 5a7b30393446261548cdda09f3a29fe7e78d1ad6 (diff) | |
download | xen-e3cc5f93ca77e2b81435a47d76dd8d4cb7524ba2.tar.gz xen-e3cc5f93ca77e2b81435a47d76dd8d4cb7524ba2.tar.bz2 xen-e3cc5f93ca77e2b81435a47d76dd8d4cb7524ba2.zip |
Remove "buffer half full" check from guest_console_write
Checks are made at a lower level in the serial code, and teh policy
there is to drop rather than wait. So boot makes progress even when
serial hardware is problematic.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
Diffstat (limited to 'xen/drivers/char/console.c')
-rw-r--r-- | xen/drivers/char/console.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c index a12a6caf71..dd615b6732 100644 --- a/xen/drivers/char/console.c +++ b/xen/drivers/char/console.c @@ -332,13 +332,6 @@ static long guest_console_write(XEN_GUEST_HANDLE(char) buffer, int count) while ( count > 0 ) { - while ( serial_tx_space(sercon_handle) < (serial_txbufsz / 2) ) - { - if ( hypercall_preempt_check() ) - break; - cpu_relax(); - } - if ( hypercall_preempt_check() ) return hypercall_create_continuation( __HYPERVISOR_console_io, "iih", |