info version
Hi,
I regularly have a number of different versions of qemu installed. The monitor display the version number on the first line but, for me, it has frequently scrolled away.
The attached patch is a small 'info version' command.
Regards,
Anand
monitor.c +7 -0
@@ -190,6 +190,11 @@ cmd->handler (); } +static void do_info_version (void ) +{ +term_printf ("%s\n" ,QEMU_VERSION ); +} +static void do_info_network (void ) {int i, j;
@@ -864,6 +869,8 @@ };static term_cmd_t info_cmds[] = { + {"version" ,"" , do_info_version, +"" ,"show the version of qemu" }, {"network" ,"" , do_info_network,"" ,"show the network state" }, {"block" ,"" , do_info_block,
Applied. For the boot option, I prefer to wait.
Fabrice.
Quoted 46 lines · Anand Kumria
Hi,
I regularly have a number of different versions of qemu installed. The monitor display the version number on the first line but, for me, it has frequently scrolled away.
The attached patch is a small 'info version' command.
Regards,
Ananddiff -X dont-diff -urN
upstream/monitor.cmy-versions/monitor.cmonitor.c +7
-0@@ -190,6 +190,11 @@ cmd->handler (); } +static void do_info_version (void ) +{ +term_printf ("%s\n" ,QEMU_VERSION ); +} +static void do_info_network (void ) {int i, j;@@ -864,6 +869,8 @@ };static term_cmd_t info_cmds[] = { + {"version" ,"" , do_info_version, +"" ,"show the version of qemu" }, {"network" ,"" , do_info_network,"" ,"show the network state" }, {"block" ,"" , do_info_block,_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel