[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 0/2] Introduce default ram size in MachineCla
From: |
Nikunj A Dadhania |
Subject: |
Re: [Qemu-devel] [PATCH v5 0/2] Introduce default ram size in MachineClass |
Date: |
Wed, 18 Mar 2015 10:37:16 +0530 |
User-agent: |
Notmuch/0.17+27~gae47d61 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-redhat-linux-gnu) |
Nikunj A Dadhania <address@hidden> writes:
> 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.
Ping,
Agraf, will this go via your ppc tree?
> 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