From: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: thuth@redhat.com, nikunj@linux.vnet.ibm.com, aik@ozlabs.ru,
agraf@suse.de, qemu-ppc@nongnu.org, pbonzini@redhat.com,
david@gibson.dropbear.id.au
Subject: [Qemu-devel] [PATCH v6 0/2] Introduce default ram size in MachineClass
Date: Thu, 30 Apr 2015 22:40:04 +0530 [thread overview]
Message-ID: <1430413806-5057-1-git-send-email-nikunj@linux.vnet.ibm.com> (raw)
Current DEFAULT_RAM_SIZE(128MB) enforced by QEMU would not work for
all machines. Introduce a default_ram_size as part of MachineClass.
The below patches has following behaviour:
1) If the user does not provide "-m" option, machine's default ram
size will be picked.
2) The default behaviour of "-m" is not changed
3) Adds 512MB default memory for spapr machine
Nikunj A Dadhania (2):
machine: add default_ram_size to machine class
spapr: override default ram size to 512MB
hw/core/machine.c | 9 +++++++++
hw/ppc/spapr.c | 1 +
include/hw/boards.h | 1 +
include/qemu-common.h | 6 ++++++
vl.c | 30 ++++++++++++++++--------------
5 files changed, 33 insertions(+), 14 deletions(-)
--
1.8.3.1
next reply other threads:[~2015-04-30 17:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-30 17:10 Nikunj A Dadhania [this message]
2015-04-30 17:10 ` [Qemu-devel] [PATCH v6 1/2] machine: add default_ram_size to machine class Nikunj A Dadhania
2015-04-30 17:10 ` [Qemu-devel] [PATCH v6 2/2] spapr: override default ram size to 512MB Nikunj A Dadhania
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=1430413806-5057-1-git-send-email-nikunj@linux.vnet.ibm.com \
--to=nikunj@linux.vnet.ibm.com \
--cc=agraf@suse.de \
--cc=aik@ozlabs.ru \
--cc=david@gibson.dropbear.id.au \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=thuth@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).