Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0eoA-0006Wv-Pf for qemu-devel@nongnu.org; Sat, 10 Apr 2010 13:49:26 -0400 Received: from [140.186.70.92] (port=55237 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0eo9-0006UN-9x for qemu-devel@nongnu.org; Sat, 10 Apr 2010 13:49:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0eo5-0007si-MS for qemu-devel@nongnu.org; Sat, 10 Apr 2010 13:49:25 -0400 Received: from gelbbaer.kn-bremen.de ([78.46.108.116]:47610 helo=smtp.kn-bremen.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0eo5-0007s1-HP for qemu-devel@nongnu.org; Sat, 10 Apr 2010 13:49:21 -0400 From: Juergen Lock Date: Sat, 10 Apr 2010 19:45:21 +0200 Subject: Re: [Qemu-devel] [PATCHv2] Avoid page_set_flags() assert in qemu-user host page protection code Message-ID: <20100410174521.GA3591@triton8.kn-bremen.de> References: <20100331210036.GA44152@triton8.kn-bremen.de> <20100409200241.GJ21042@volta.aurel32.net> <20100410152208.GI17204@hall.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100410152208.GI17204@hall.aurel32.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: Juergen Lock , qemu-devel@nongnu.org On Sat, Apr 10, 2010 at 05:22:08PM +0200, Aurelien Jarno wrote: > On Fri, Apr 09, 2010 at 10:02:41PM +0200, Aurelien Jarno wrote: > > On Wed, Mar 31, 2010 at 11:00:36PM +0200, Juergen Lock wrote: > > > V2 that uses endaddr = end-of-guest-address-space if !h2g_valid(endaddr) > > > after I found out that indeed works; and also disables the FreeBSD 6.x > > > /compat/linux/proc/self/maps fallback because it can return partial lines > > > if (at least I think that's the reason) the mappings change between > > > subsequent read() calls. > > > > > > Signed-off-by: Juergen Lock > > > > Thanks, applied. > > > > This patch actually breaks the build on 32-bit hosts. I have reverted > it. Oh dear, sorry about that. :( Should I make a new version thats conditional on the host being 64-bit? Or do you think 32-bit hosts also need something fixed there? Sorry again... Juergen