qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Hrdina <phrdina@redhat.com>
To: "Andreas Färber" <afaerber@suse.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/1] hmp: allow "bool" parameter to be optional
Date: Tue, 07 Aug 2012 15:58:15 +0200	[thread overview]
Message-ID: <50211EF7.4030409@redhat.com> (raw)
In-Reply-To: <50211DB2.4010300@suse.de>

On 08/07/2012 03:52 PM, Andreas Färber wrote:
> Am 07.08.2012 15:03, schrieb Pavel Hrdina:
>> Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
> This is in need of a more detailed commit message: What exactly is this
> fixing? Or is this a preparation for a particular new command?
>
> Andreas
Yes, this is preparation for update of savevm command. I forget to write 
it. And I think that in future this could be useful.

Pavel
>> ---
>>   monitor.c | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/monitor.c b/monitor.c
>> index bbf30e6..2b3583c 100644
>> --- a/monitor.c
>> +++ b/monitor.c
>> @@ -3778,6 +3778,9 @@ static const mon_cmd_t *monitor_parse_command(Monitor *mon,
>>                       val = 1;
>>                   } else if (p - beg == 3 && !memcmp(beg, "off", p - beg)) {
>>                       val = 0;
>> +                } else if (*typestr == '?') {
>> +                    typestr++;
>> +                    break;
>>                   } else {
>>                       monitor_printf(mon, "Expected 'on' or 'off'\n");
>>                       goto fail;
>>
>

  reply	other threads:[~2012-08-07 13:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-07 13:03 [Qemu-devel] [PATCH 1/1] hmp: allow "bool" parameter to be optional Pavel Hrdina
2012-08-07 13:52 ` Andreas Färber
2012-08-07 13:58   ` Pavel Hrdina [this message]
2012-08-07 14:36     ` Markus Armbruster
2012-08-07 14:37       ` Pavel Hrdina

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=50211EF7.4030409@redhat.com \
    --to=phrdina@redhat.com \
    --cc=afaerber@suse.de \
    --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).