Displaying 1 result from an estimated 1 matches for "xen_rx".
Did you mean:
en_rx
2012 Sep 29
5
[PATCH] xen/console: introduce a 'w' debug-key that dumps the console ring
...g_keyhandler = {
+ .u.fn = dump_console_ring_key,
+ .desc = "synchronously dump console ring buffer (dmesg)"
+};
+
/* CTRL-<switch_char> switches input direction between Xen and DOM0. */
#define switch_code (opt_conswitch[0]-''a''+1)
static int __read_mostly xen_rx = 1; /* FALSE => serial input passed to domain 0. */
@@ -661,6 +704,8 @@ void __init console_endboot(void)
if ( opt_conswitch[1] == ''x'' )
xen_rx = !xen_rx;
+ register_keyhandler(''w'', &dump_console_ring_keyhandler);
+
/* Serial input...