From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wsas2-0006v0-Ft for qemu-devel@nongnu.org; Thu, 05 Jun 2014 12:50:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wsarp-0004T6-UV for qemu-devel@nongnu.org; Thu, 05 Jun 2014 12:50:30 -0400 Received: from fldsmtpe04.verizon.com ([140.108.26.143]:63076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wsarp-0004SQ-P2 for qemu-devel@nongnu.org; Thu, 05 Jun 2014 12:50:17 -0400 From: Don Slutz Message-ID: <53909FB2.5030409@terremark.com> Date: Thu, 05 Jun 2014 12:49:54 -0400 MIME-Version: 1.0 References: <1401984716-16521-1-git-send-email-dslutz@verizon.com> <1401984716-16521-3-git-send-email-dslutz@verizon.com> <20140605182727.145b07e8@nial.usersys.redhat.com> In-Reply-To: <20140605182727.145b07e8@nial.usersys.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 2/3] pc & q35: Add new machine opt max-ram-below-4g List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov , Don Slutz Cc: xen-devel@lists.xensource.com, "Michael S. Tsirkin" , qemu-devel@nongnu.org, Anthony Liguori , Stefano Stabellini On 06/05/14 12:27, Igor Mammedov wrote: > On Thu, 5 Jun 2014 12:11:55 -0400 > Don Slutz wrote: > >> This is a pc & q35 only machine opt. One use is to allow for more >> ram in a 32bit guest for example: >> >> -machine pc,max-ram-below-4g=3.75G >> >> If you add enough PCI devices then all mmio for them will not fit >> below 4G which may not be the layout the user wanted. This allows >> you to increase the below 4G address space that PCI devices can use >> (aka decrease ram below 4G) and therefore in more cases not have any >> mmio that is above 4G. >> >> For example using "-machine pc,max-ram-below-4g=2G" on the command >> line will limit the amount of ram that is below 4G to 2G. >> >> Signed-off-by: Don Slutz > this patch would look better if rebased on top of > http://lists.gnu.org/archive/html/qemu-devel/2014-06/msg00133.html > and would use PCMachine type to add PC specific "max-ram-below-4g" property. I somehow missed this patch series. Will work on a rebase on top of this. -Don Slutz > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Don Slutz Subject: Re: [PATCH v4 2/3] pc & q35: Add new machine opt max-ram-below-4g Date: Thu, 05 Jun 2014 12:49:54 -0400 Message-ID: <53909FB2.5030409@terremark.com> References: <1401984716-16521-1-git-send-email-dslutz@verizon.com> <1401984716-16521-3-git-send-email-dslutz@verizon.com> <20140605182727.145b07e8@nial.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140605182727.145b07e8@nial.usersys.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Igor Mammedov , Don Slutz Cc: xen-devel@lists.xensource.com, "Michael S. Tsirkin" , qemu-devel@nongnu.org, Anthony Liguori , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On 06/05/14 12:27, Igor Mammedov wrote: > On Thu, 5 Jun 2014 12:11:55 -0400 > Don Slutz wrote: > >> This is a pc & q35 only machine opt. One use is to allow for more >> ram in a 32bit guest for example: >> >> -machine pc,max-ram-below-4g=3.75G >> >> If you add enough PCI devices then all mmio for them will not fit >> below 4G which may not be the layout the user wanted. This allows >> you to increase the below 4G address space that PCI devices can use >> (aka decrease ram below 4G) and therefore in more cases not have any >> mmio that is above 4G. >> >> For example using "-machine pc,max-ram-below-4g=2G" on the command >> line will limit the amount of ram that is below 4G to 2G. >> >> Signed-off-by: Don Slutz > this patch would look better if rebased on top of > http://lists.gnu.org/archive/html/qemu-devel/2014-06/msg00133.html > and would use PCMachine type to add PC specific "max-ram-below-4g" property. I somehow missed this patch series. Will work on a rebase on top of this. -Don Slutz >