From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjdAW-0003ed-GM for qemu-devel@nongnu.org; Sat, 27 Sep 2008 13:01:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjdAU-0003b7-2z for qemu-devel@nongnu.org; Sat, 27 Sep 2008 13:01:19 -0400 Received: from [199.232.76.173] (port=40849 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjdAT-0003am-UU for qemu-devel@nongnu.org; Sat, 27 Sep 2008 13:01:17 -0400 Received: from csl.cornell.edu ([128.84.224.10]:4746 helo=vlsi.csl.cornell.edu) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KjdAT-0000y4-IH for qemu-devel@nongnu.org; Sat, 27 Sep 2008 13:01:17 -0400 Received: from stanley.csl.cornell.edu (stanley.csl.cornell.edu [128.84.224.15]) by vlsi.csl.cornell.edu (8.13.4/8.13.4) with ESMTP id m8RH1C4m005906 for ; Sat, 27 Sep 2008 13:01:17 -0400 (EDT) Date: Sat, 27 Sep 2008 13:01:12 -0400 (EDT) From: Vince Weaver Subject: Re: [Qemu-devel] linux-user mremap() In-Reply-To: <20080927051727.GA31531@localhost.localdomain> Message-ID: <20080927130025.Q28380@stanley.csl.cornell.edu> References: <20080926142222.U24737@stanley.csl.cornell.edu> <20080927051727.GA31531@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > If host is x86_64, use MAP_32BIT. I don't think that works for mremap(), hence the problem. In any case, even if it does fix it for x86_64, simply crashing qemu with a segfault on other architectures still isn't a good thing to do. Vince