From: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
To: Alexander Graf <agraf@suse.de>, qemu-devel@nongnu.org
Cc: laurent.desnogues@gmail.com, peter.maydell@linaro.org,
qemu-ppc@nongnu.org, david@gibson.dropbear.id.au
Subject: Re: [Qemu-devel] [PATCH] machine: Drop use of DEFAULT_RAM_SIZE in help text
Date: Fri, 05 Jun 2015 15:32:02 +0530 [thread overview]
Message-ID: <87twuma2xx.fsf@linux.vnet.ibm.com> (raw)
In-Reply-To: <1433495103-62084-1-git-send-email-agraf@suse.de>
Alexander Graf <agraf@suse.de> writes:
> As of commit 076b35b5a (machine: add default_ram_size to machine class) we
> no longer have a global default ram size, but instead machine specific
> defaults. When invoking qemu --help we don't know which machine you selected,
> so we can't tell the user the default RAM size in the help text anymore now.
>
> Thus I don't see an easy way to expose the default ram size to the user in the
> help text. The easiest option IMHO is to just drop this piece of information.
Acked-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
> Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
> Signed-off-by: Alexander Graf <agraf@suse.de>
>
> ---
> qemu-options.hx | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index b3db6cb..5eaba11 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -241,8 +241,7 @@ ETEXI
> DEF("m", HAS_ARG, QEMU_OPTION_m,
> "-m[emory] [size=]megs[,slots=n,maxmem=size]\n"
> " configure guest RAM\n"
> - " size: initial amount of guest memory (default: "
> - stringify(DEFAULT_RAM_SIZE) "MiB)\n"
> + " size: initial amount of guest memory\n"
> " slots: number of hotplug slots (default: none)\n"
> " maxmem: maximum amount of guest memory (default: none)\n"
> "NOTE: Some architectures might enforce a specific granularity\n",
> --
> 1.8.1.4
next prev parent reply other threads:[~2015-06-05 10:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-05 9:05 [Qemu-devel] [PATCH] machine: Drop use of DEFAULT_RAM_SIZE in help text Alexander Graf
2015-06-05 9:13 ` Laurent Desnogues
2015-06-05 10:02 ` Nikunj A Dadhania [this message]
2015-06-08 13:06 ` Peter Maydell
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=87twuma2xx.fsf@linux.vnet.ibm.com \
--to=nikunj@linux.vnet.ibm.com \
--cc=agraf@suse.de \
--cc=david@gibson.dropbear.id.au \
--cc=laurent.desnogues@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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.