Skip to content

Introduce default ram size in MachineClass

Nikunj A Dadhania qemu-devel 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 0 repliesNew
  2. v5 posting 2/22 patches 14 repliesSuperseded
  3. v5 posting 1/22 patches 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v42 patches4 repliesSuperseded
v32 patches11 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2machine: add default_ram_size to machine classhw/core/machine.c include/hw/boards.h include/qemu-common.h +1 more+32 -140 replies
2/2spapr: override default ram size to 512MBhw/ppc/spapr.c+1 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchThomas HuthDavid GibsonPaolo BonziniIgor Mammedov
1/2R-b R-b A-b
2/2R-b A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v6 thread

Cover letter [Qemu-devel] [PATCH v6 0/2] Introduce default ram size in MachineClass

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(-)
Signature · 1 line
1.8.3.1