From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTSds-0001DM-AZ for qemu-devel@nongnu.org; Thu, 05 Mar 2015 05:04:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTSdo-00083z-8o for qemu-devel@nongnu.org; Thu, 05 Mar 2015 05:04:32 -0500 From: Markus Armbruster References: <1425546371-15909-1-git-send-email-nikunj@linux.vnet.ibm.com> Date: Thu, 05 Mar 2015 11:04:21 +0100 In-Reply-To: <1425546371-15909-1-git-send-email-nikunj@linux.vnet.ibm.com> (Nikunj A. Dadhania's message of "Thu, 5 Mar 2015 14:36:09 +0530") Message-ID: <87mw3r7obe.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v3 0/2] Introduce default ram size in MachineClass List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikunj A Dadhania Cc: thuth@linux.vnet.ibm.com, aik@ozlabs.ru, agraf@suse.de, qemu-devel@nongnu.org, qemu-ppc@nongnu.org, marcel.apfelbaum@gmail.com, imammedo@redhat.com Nikunj A Dadhania 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) In case the user provides memory that is lesser than machine's > default ram size, we upscale the ram_size to machine's > default_ram_size. A warning is displayed for the change that qemu > has done. Please do not "improve" the user's explicit order that way. Either execute the order as is, or reject it as invalid. So far, we've always executed this order. [...]