|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Remove "buffer half full" check from gues
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1253089564 -3600
# Node ID a35a1ac91230c74067736b82123b65c370a8d910
# Parent 6f719ff43b42f178a0853174e0732a8c420e7be3
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@xxxxxxxxxx>
---
xen/drivers/char/console.c | 7 -------
1 files changed, 7 deletions(-)
diff -r 6f719ff43b42 -r a35a1ac91230 xen/drivers/char/console.c
--- a/xen/drivers/char/console.c Wed Sep 16 09:22:38 2009 +0100
+++ b/xen/drivers/char/console.c Wed Sep 16 09:26:04 2009 +0100
@@ -332,13 +332,6 @@ static long guest_console_write(XEN_GUES
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",
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Remove "buffer half full" check from guest_console_write,
Xen patchbot-unstable <=
|
|
|
|
|