All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] info version
Date: Sun, 10 Oct 2004 17:46:03 +0200	[thread overview]
Message-ID: <4169593B.6070105@bellard.org> (raw)
In-Reply-To: <pan.2004.10.10.13.28.58.52663@progsoc.org>

Applied. For the boot option, I prefer to wait.

Fabrice.

Anand Kumria wrote:
> 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
> 
> 
> diff -X dont-diff -urN upstream/monitor.c my-versions/monitor.c
> --- upstream/monitor.c	2004-10-10 04:08:01.000000000 +1000
> +++ my-versions/monitor.c	2004-10-10 18:43:45.000000000 +1000
> @@ -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
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 
> 

      reply	other threads:[~2004-10-10 15:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-10 13:28 [Qemu-devel] info version Anand Kumria
2004-10-10 15:46 ` Fabrice Bellard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4169593B.6070105@bellard.org \
    --to=fabrice@bellard.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.