mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
Enable serial input for Xen (tied to ifdef, default off for now)
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
This commit is contained in:
1 parent
18c5361940
commit
29ff6aeb27
1 file changed
+6
-1
@@ -289,6 +289,11 @@ printk("About to call init_xen_time()\n");
|
||||
printk("About to call ac_timer_init()\n");
|
||||
ac_timer_init();
|
||||
|
||||
#ifdef CONFIG_XEN_CONSOLE_INPUT /* CONFIG_SERIAL_8250_CONSOLE=n in dom0! */
|
||||
initialize_keytable();
|
||||
serial_init_postirq();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
if ( opt_nosmp )
|
||||
{
|
||||
@@ -407,7 +412,7 @@ printk("About to call init_trace_bufs()\n");
|
||||
init_trace_bufs();
|
||||
|
||||
/* Give up the VGA console if DOM0 is configured to grab it. */
|
||||
#ifndef IA64
|
||||
#ifdef CONFIG_XEN_CONSOLE_INPUT /* CONFIG_SERIAL_8250_CONSOLE=n in dom0! */
|
||||
console_endboot(cmdline && strstr(cmdline, "tty0"));
|
||||
#endif
|
||||
|
||||
|
||||