From: BitKeeper B. <ri...@su...> - 2004-08-28 18:00:50
|
ChangeSet 1.1288, 2004/08/28 10:23:15+01:00, cl...@fr... Always enable our console so that we get console output even if the actual console is on the vga or other display. console.c | 4 ++++ 1 files changed, 4 insertions(+) diff -Nru a/linux-2.6.8.1-xen-sparse/drivers/xen/console/console.c b/linux-2.6.8.1-xen-sparse/drivers/xen/console/console.c --- a/linux-2.6.8.1-xen-sparse/drivers/xen/console/console.c 2004-08-28 14:00:42 -04:00 +++ b/linux-2.6.8.1-xen-sparse/drivers/xen/console/console.c 2004-08-28 14:00:42 -04:00 @@ -158,6 +158,10 @@ if ( xc_mode == XC_DEFAULT ) xc_mode = XC_SERIAL; kcons_info.write = kcons_write_dom0; +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) + if ( xc_mode == XC_SERIAL ) + kcons_info.flags |= CON_ENABLED; +#endif } else { |