From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxFuW-0004KN-Dm for qemu-devel@nongnu.org; Wed, 18 Jun 2014 09:28:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxFuP-0002Z7-Ba for qemu-devel@nongnu.org; Wed, 18 Jun 2014 09:28:20 -0400 Received: from omzsmtpe01.verizonbusiness.com ([199.249.25.210]:3459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxFuP-0002Yr-3f for qemu-devel@nongnu.org; Wed, 18 Jun 2014 09:28:13 -0400 From: "Slutz, Donald Christopher" Date: Wed, 18 Jun 2014 13:28:09 +0000 Message-ID: References: <1402077126-17799-1-git-send-email-dslutz@verizon.com> <1402077126-17799-3-git-send-email-dslutz@verizon.com> <20140617182237.GA15403@redhat.com> <53A08C99.4030403@terremark.com> <20140617194329.GF15610@redhat.com> <20140617200854.GC27242@laptop.dumpdata.com> <20140617201713.GA16416@redhat.com> In-Reply-To: <20140617201713.GA16416@redhat.com> Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Qemu-devel] [Xen-devel] [PATCH v5 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: "Michael S. Tsirkin" Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini , Konrad Rzeszutek Wilk , "qemu-devel@nongnu.org" , Anthony Liguori , Igor Mammedov , =?iso-8859-1?Q?Andreas_F=E4rber?= On 06/17/14 16:17, Michael S. Tsirkin wrote: > On Tue, Jun 17, 2014 at 04:08:54PM -0400, Konrad Rzeszutek Wilk wrote: >> On Tue, Jun 17, 2014 at 10:43:29PM +0300, Michael S. Tsirkin wrote: [snip] >> I think he mentioned PCI devices, not PCIe. > OK that's a small niche but it makes some sense. > So let's focus on this case, it can be addressed > cleanly: > > default: max-ram-below-4g=3D4g > pc: > low =3D MIN(low, max-ram-below-4g) > > no special handling for any corner cases. > > For bonus points detect and warn if value chosen causes > alignment issues. > v7 of this is being tested. Expect to post today. -Don Slutz= From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Slutz, Donald Christopher" Subject: Re: [PATCH v5 2/3] pc & q35: Add new machine opt max-ram-below-4g Date: Wed, 18 Jun 2014 13:28:09 +0000 Message-ID: References: <1402077126-17799-1-git-send-email-dslutz@verizon.com> <1402077126-17799-3-git-send-email-dslutz@verizon.com> <20140617182237.GA15403@redhat.com> <53A08C99.4030403@terremark.com> <20140617194329.GF15610@redhat.com> <20140617200854.GC27242@laptop.dumpdata.com> <20140617201713.GA16416@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140617201713.GA16416@redhat.com> Content-Language: en-US Content-ID: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Michael S. Tsirkin" Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini , "qemu-devel@nongnu.org" , Anthony Liguori , Igor Mammedov , =?iso-8859-1?Q?Andreas_F=E4rber?= List-Id: xen-devel@lists.xenproject.org On 06/17/14 16:17, Michael S. Tsirkin wrote: > On Tue, Jun 17, 2014 at 04:08:54PM -0400, Konrad Rzeszutek Wilk wrote: >> On Tue, Jun 17, 2014 at 10:43:29PM +0300, Michael S. Tsirkin wrote: [snip] >> I think he mentioned PCI devices, not PCIe. > OK that's a small niche but it makes some sense. > So let's focus on this case, it can be addressed > cleanly: > > default: max-ram-below-4g=4g > pc: > low = MIN(low, max-ram-below-4g) > > no special handling for any corner cases. > > For bonus points detect and warn if value chosen causes > alignment issues. > v7 of this is being tested. Expect to post today. -Don Slutz