All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [REBASE PATCH v5 0/2] Introduce default ram size in MachineClass
@ 2015-04-28  6:53 Nikunj A Dadhania
  2015-04-28  6:53 ` [Qemu-devel] [REBASE PATCH v5 1/2] machine: add default_ram_size to machine class Nikunj A Dadhania
  2015-04-28  6:53 ` [Qemu-devel] [REBASE PATCH v5 2/2] spapr: override default ram size to 1GB Nikunj A Dadhania
  0 siblings, 2 replies; 17+ messages in thread
From: Nikunj A Dadhania @ 2015-04-28  6:53 UTC (permalink / raw)
  To: qemu-devel
  Cc: thuth, nikunj, aik, armbru, agraf, qemu-ppc, marcel.apfelbaum,
	imammedo, david

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 

On the side note, there are other cleanup of removing ram_size, slots
and maxmem from vl.c. All these are being parsed by generic code. This
can be moved to machine specific property. I will take a stab at it
next.

Nikunj A Dadhania (2):
  machine: add default_ram_size to machine class
  spapr: override default ram size to 1GB

 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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-04-30 17:06 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-28  6:53 [Qemu-devel] [REBASE PATCH v5 0/2] Introduce default ram size in MachineClass Nikunj A Dadhania
2015-04-28  6:53 ` [Qemu-devel] [REBASE PATCH v5 1/2] machine: add default_ram_size to machine class Nikunj A Dadhania
2015-04-28 11:30   ` Thomas Huth
2015-04-29  1:56     ` David Gibson
2015-04-29  8:14       ` Nikunj A Dadhania
2015-04-29  8:33         ` Paolo Bonzini
2015-04-29  9:06           ` Nikunj A Dadhania
2015-04-29  9:10             ` Paolo Bonzini
2015-04-30  4:41               ` Nikunj A Dadhania
2015-04-30  9:18                 ` Alexander Graf
2015-04-30  9:40                   ` Thomas Huth
2015-04-30  9:43                     ` Alexander Graf
2015-04-30 16:58                       ` Nikunj A Dadhania
2015-04-30 13:05                     ` Paolo Bonzini
2015-04-28  6:53 ` [Qemu-devel] [REBASE PATCH v5 2/2] spapr: override default ram size to 1GB Nikunj A Dadhania
2015-04-28 11:32   ` Thomas Huth
2015-04-29  1:57     ` David Gibson

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.