From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VePxY-0004SX-Er for qemu-devel@nongnu.org; Thu, 07 Nov 2013 08:49:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VePxS-0000sf-AT for qemu-devel@nongnu.org; Thu, 07 Nov 2013 08:49:20 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VePxS-0000rc-2d for qemu-devel@nongnu.org; Thu, 07 Nov 2013 08:49:14 -0500 Message-ID: <527B9A52.3080004@redhat.com> Date: Thu, 07 Nov 2013 14:49:06 +0100 From: Paolo Bonzini MIME-Version: 1.0 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> In-Reply-To: <20131107120408.GA31193@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: "Michael S. Tsirkin" Cc: Peter Maydell , Eduardo Habkost , Marcel Apfelbaum , Jan Kiszka , QEMU Developers , Luiz Capitulino , Alexander Graf , Anthony Liguori , =?ISO-8859-1?Q?Andreas_F=E4rber?= 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 > Not for 1.7 of course. > > This will help make sure it's only used for MRs.