xen/hvc: make sure console output is always emitted, with explicit polling
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 20 Oct 2009 06:28:21 +0000 (15:28 +0900)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 3 Nov 2009 19:05:51 +0000 (11:05 -0800)
commit7825cf10e31c64ece3cac66fb01a742f1094da51
tree45de3111641487d1deb18cfb86200113e2427b0b
parent973df35ed9ff7806403e793a2ad7e9bd4c2fd2a9
xen/hvc: make sure console output is always emitted, with explicit polling

We never want to rely on the hvc workqueue to emit output, because the
most interesting output is when the kernel is broken.  This will
improve oops/crash/console message for better debugging.

Instead, we force-poll until all output is emitted.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stable Kernel <stable@kernel.org>
drivers/char/hvc_xen.c