[PATCH v6 2/2] xen/common: move version printout under '?' keyhandler
| Newsgroups | org.xenproject.lists.xen-devel |
|---|---|
| Message-ID | <[email protected]> |
From: Denis Mukhin <[email protected]> Move Xen version printout from 'h' keyhandler to the new dedicated handler '?'. Signed-off-by: Denis Mukhin <[email protected]> --- Changes since v5: - new patch --- xen/common/keyhandler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/common/keyhandler.c b/xen/common/keyhandler.c index 92b0573d8b3a..03ecc4d5187a 100644 --- a/xen/common/keyhandler.c +++ b/xen/common/keyhandler.c @@ -131,8 +131,6 @@ static void cf_check show_handlers(unsigned char key) printk("'%c' pressed -> showing installed handlers\n", key); - print_version(); - for ( i = 0; i < ARRAY_SIZE(key_table); i++ ) if ( key_table[i].fn ) printk(" key '%c' (ascii '%02x') => %s\n", @@ -143,6 +141,8 @@ static void cf_check show_system_info(unsigned char key) { printk("'%c' pressed -> showing system information\n", key); + print_version(); + print_cmdline(); } -- 2.54.0