From: Laszlo Ersek <lersek@redhat.com>
To: Igor Mammedov <imammedo@redhat.com>
Cc: kwolf@redhat.com, peter.crosthwaite@xilinx.com, akong@redhat.com,
stefanha@redhat.com, mjt@tls.msk.ru, qemu-devel@nongnu.org,
armbru@redhat.com, aliguori@amazon.com, lcapitulino@redhat.com,
pbonzini@redhat.com, mreitz@redhat.com
Subject: Re: [Qemu-devel] [PATCH v3] vl: convert -m to QemuOpts
Date: Thu, 13 Feb 2014 21:06:18 +0100 [thread overview]
Message-ID: <52FD25BA.2010309@redhat.com> (raw)
In-Reply-To: <52FD04C7.5030701@redhat.com>
On 02/13/14 18:45, Eric Blake wrote:
> On 02/13/2014 09:13 AM, Igor Mammedov wrote:
>> Adds option to -m
>> "mem" - startup memory amount
>>
>> For compatibility with legacy CLI if suffix-less number is passed,
>> it assumes amount in MiB.
>>
>> Otherwise user is free to use suffixed number using suffixes b,k/K,M,G
>>
>> Signed-off-by: Igor Mammedov <imammedo@redhat.com>
>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>> ---
>> v3:
>> - fixes suggested by Eric Blake <eblake@redhat.com>
>> - check for empty string in more efficient way
>> - fix MB/MiB inconsistency
>> - use EXIT_FAILURE instead of 1
>> - add missing exit() if overflow occurres
>
> Reviewed-by: Eric Blake <eblake@redhat.com>
Me too:
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
next prev parent reply other threads:[~2014-02-13 20:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-13 13:50 [Qemu-devel] [PATCH v2 0/2] convert -m to QemuOpts Igor Mammedov
2014-02-13 13:50 ` [Qemu-devel] [PATCH v2 1/2] QemuOpts: introduce qemu_find_opts_singleton Igor Mammedov
2014-02-13 13:50 ` [Qemu-devel] [PATCH v2 2/2] vl: convert -m to QemuOpts Igor Mammedov
2014-02-13 15:14 ` Eric Blake
2014-02-13 16:13 ` [Qemu-devel] [PATCH v3] " Igor Mammedov
2014-02-13 17:45 ` Eric Blake
2014-02-13 20:06 ` Laszlo Ersek [this message]
2014-02-17 16:18 ` Paolo Bonzini
2014-02-17 16:42 ` Luiz Capitulino
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=52FD25BA.2010309@redhat.com \
--to=lersek@redhat.com \
--cc=akong@redhat.com \
--cc=aliguori@amazon.com \
--cc=armbru@redhat.com \
--cc=imammedo@redhat.com \
--cc=kwolf@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=mjt@tls.msk.ru \
--cc=mreitz@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.crosthwaite@xilinx.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/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).