qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 3/5] Add "info uuid" command to monitor.
Date: Thu, 05 Jun 2008 10:14:39 -0500	[thread overview]
Message-ID: <484802DF.70906@codemonkey.ws> (raw)
In-Reply-To: <20080605083546.11678.84071.stgit@gleb-debian.qumranet.com.qumranet.com>

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>

Regards,

Anthony Liguori

Gleb Natapov wrote:
> Signed-off-by: Gleb Natapov <gleb@qumranet.com>
> ---
>
>  monitor.c |    8 ++++++++
>  sysemu.h  |    1 +
>  2 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/monitor.c b/monitor.c
> index e6abcdd..9233625 100644
> --- a/monitor.c
> +++ b/monitor.c
> @@ -254,6 +254,12 @@ static void do_info_name(void)
>          term_printf("%s\n", qemu_name);
>  }
>  
> +static void do_info_uuid(void)
> +{
> +    if (qemu_uuid_str)
> +        term_printf("%s\n", qemu_uuid_str);
> +}
> +
>  static void do_info_block(void)
>  {
>      bdrv_info();
> @@ -1442,6 +1448,8 @@ static term_cmd_t info_cmds[] = {
>        "", "show the vnc server status"},
>      { "name", "", do_info_name,
>        "", "show the current VM name" },
> +    { "uuid", "", do_info_uuid,
> +      "", "show the current VM UUID" },
>  #if defined(TARGET_PPC)
>      { "cpustats", "", do_info_cpu_stats,
>        "", "show CPU statistics", },
> diff --git a/sysemu.h b/sysemu.h
> index f666f73..474091a 100644
> --- a/sysemu.h
> +++ b/sysemu.h
> @@ -8,6 +8,7 @@ extern const char *bios_dir;
>  
>  extern int vm_running;
>  extern const char *qemu_name;
> +extern const char *qemu_uuid_str;
>  
>  typedef struct vm_change_state_entry VMChangeStateEntry;
>  typedef void VMChangeStateHandler(void *opaque, int running);
>
>
>
>   

  reply	other threads:[~2008-06-05 15:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05  8:35 [Qemu-devel] [PATCH 1/5] Add OUT support to vmport Gleb Natapov
2008-06-05  8:35 ` [Qemu-devel] [PATCH 2/5] Add -uuid command line option Gleb Natapov
2008-06-05 15:13   ` Anthony Liguori
2008-06-05  8:35 ` [Qemu-devel] [PATCH 3/5] Add "info uuid" command to monitor Gleb Natapov
2008-06-05 15:14   ` Anthony Liguori [this message]
2008-06-05  8:35 ` [Qemu-devel] [PATCH 4/5] Use libuuid if available Gleb Natapov
2008-06-05 15:18   ` Anthony Liguori
2008-06-05 20:20     ` Gleb Natapov
2008-06-05 20:27       ` Anthony Liguori
2008-06-05 22:22         ` Paul Brook
2008-06-06  0:18           ` Anthony Liguori
2008-06-06  9:18           ` Daniel P. Berrange
2008-06-05  8:35 ` [Qemu-devel] [PATCH 5/5] Add support for UUID query to vmport interface Gleb Natapov
2008-06-05 15:19   ` Anthony Liguori

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=484802DF.70906@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).