From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeRgO-0004ur-Ko for qemu-devel@nongnu.org; Thu, 07 Nov 2013 10:39:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VeRgI-00054M-Cj for qemu-devel@nongnu.org; Thu, 07 Nov 2013 10:39:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeRgI-00053D-4c for qemu-devel@nongnu.org; Thu, 07 Nov 2013 10:39:38 -0500 Date: Thu, 7 Nov 2013 17:40:29 +0200 From: "Michael S. Tsirkin" Message-ID: <20131107154029.GA4058@redhat.com> References: <1383820884-29596-1-git-send-email-marcel.a@redhat.com> <1383820884-29596-2-git-send-email-marcel.a@redhat.com> <20131107120408.GA31193@redhat.com> <527B9A52.3080004@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <527B9A52.3080004@redhat.com> Subject: Re: [Qemu-devel] [PATCH for-1.7 v2 1/8] exec: declare TARGET_PHYS_ADDR_SPACE_MAX to limit memory regions rendered by exec List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , Eduardo Habkost , Marcel Apfelbaum , Jan Kiszka , QEMU Developers , Luiz Capitulino , Alexander Graf , Anthony Liguori , Andreas =?iso-8859-1?Q?F=E4rber?= On Thu, Nov 07, 2013 at 02:49:06PM +0100, Paolo Bonzini wrote: > Il 07/11/2013 13:04, Michael S. Tsirkin ha scritto: > >> > (it follows from this that using the #define anywhere > >> > except in a memory_region_init() call is probably a bug) > >> > > >> > -- PMM > > > > BTW how about we change the API to pass in int128? > > The vast majority of memory regions have small sizes, it would add > boilerplate to wrap the size with an int128_make64 everywhere. > > Paolo Well let's have two APIs for 64 bit and for 128 bit. > > Not for 1.7 of course. > > > > This will help make sure it's only used for MRs.