From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPXcS-00055S-CG for qemu-devel@nongnu.org; Wed, 12 Aug 2015 11:07:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPXcN-0000UM-EK for qemu-devel@nongnu.org; Wed, 12 Aug 2015 11:07:08 -0400 Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:33417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPXcN-0000UG-Aq for qemu-devel@nongnu.org; Wed, 12 Aug 2015 11:07:03 -0400 Received: by qkfj126 with SMTP id j126so6070007qkf.0 for ; Wed, 12 Aug 2015 08:07:03 -0700 (PDT) Sender: Richard Henderson References: <55CAE18F.9080004@hotmail.com> <55CAEB9A.9020808@twiddle.net> <55CAFCD7.20405@hotmail.com> From: Richard Henderson Message-ID: <55CB6113.5060907@twiddle.net> Date: Wed, 12 Aug 2015 08:06:59 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] linux-user: elfload: Still use TARGET_PAGE_SIZE for i386 guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: gchen gchen , Riku Voipio , "agraf@suse.de" Cc: QEMU Developers On 08/12/2015 12:59 AM, gchen gchen wrote: >> Nack. There's 99 problems with host page size> guest page size. This >> solves none of them, and in the hackiest way possible. >> > > Under alpha virtual machine, if set i386 guest page size 8KB, it will > cause failure directly (any dynamically linked binaries can not work). Yes, I know. The same thing happens when running i386 guests on other (non-virtual) hosts. E.g. Sparc64's 8kB page, PowerPC64's 64kB page. > Do you have any other ideas for solving this issue? The only complete solution that I see is to use softmmu with linux-user, so that we properly emulate the guest pages. Yes, it will cause quite some slow-down in emulation, but I believe it's the only reliable way. r~