xen/common: move version printout under '?' keyhandler

Move Xen version printout from 'h' keyhandler to the new dedicated
handler '?'.

Suggested-by: Roger Pau Monné <roger@xenproject.org>
Signed-off-by: Denis Mukhin <dmukhin@ford.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Denis Mukhin authored and Jan Beulich committed 2026-08-18 11:35:38 +02:00
1 parent 0edf0ada32
commit 0a76fa1b9e
1 file changed
+2 -2
+2 -2
View File
@@ -131,8 +131,6 @@ static void cf_check show_handlers(unsigned char key)
printk("'%c' pressed -> showing installed handlers\n", key); printk("'%c' pressed -> showing installed handlers\n", key);
print_version();
for ( i = 0; i < ARRAY_SIZE(key_table); i++ ) for ( i = 0; i < ARRAY_SIZE(key_table); i++ )
if ( key_table[i].fn ) if ( key_table[i].fn )
printk(" key '%c' (ascii '%02x') => %s\n", 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); printk("'%c' pressed -> showing system information\n", key);
print_version();
print_cmdline(); print_cmdline();
} }
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.