All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: gchen gchen <xili_gchen_5257@hotmail.com>,
	Riku Voipio <riku.voipio@iki.fi>, "agraf@suse.de" <agraf@suse.de>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] linux-user: elfload: Still use TARGET_PAGE_SIZE for i386 guest
Date: Wed, 12 Aug 2015 08:06:59 -0700	[thread overview]
Message-ID: <55CB6113.5060907@twiddle.net> (raw)
In-Reply-To: <COL130-W43C7F9F40B37D5C7CBB57EB97E0@phx.gbl>

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~

  parent reply	other threads:[~2015-08-12 15:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <55CAE18F.9080004@hotmail.com>
2015-08-12  6:03 ` [Qemu-devel] [PATCH] linux-user: elfload: Still use TARGET_PAGE_SIZE for i386 guest gchen gchen
2015-08-12  6:45   ` Richard Henderson
     [not found]     ` <55CAFCD7.20405@hotmail.com>
2015-08-12  7:59       ` gchen gchen
     [not found]         ` <55CB0ADC.3050303@hotmail.com>
2015-08-12  9:00           ` gchen gchen
2015-09-11  4:06             ` Chen Gang
2015-08-12 15:06         ` Richard Henderson [this message]
     [not found]           ` <55CBF7B1.3060001@hotmail.com>
2015-08-13  1:50             ` gchen gchen
     [not found]           ` <55CBF7AA.2050507@hotmail.com>
2015-08-13  2:45             ` gchen gchen
2015-08-13  3:00               ` Alexander Graf
     [not found]                 ` <55CC11C7.5070308@hotmail.com>
     [not found]                   ` <COL130-W265E4C6CD5E6E855799910B97D0@phx.gbl>
     [not found]                     ` <55CC44BF.3010503@hotmail.com>
     [not found]                       ` <COL130-W43A734B70892EBF38C8CD8B97D0@phx.gbl>
     [not found]                         ` <55CCA422.80706@twiddle.net>
     [not found]                           ` <BLU436-SMTP24171B64C1E70913A13FD0DB97D0@phx.gbl>
2015-08-13 16:55                             ` [Qemu-devel] Plan for using softmmu with linux-user Richard Henderson
     [not found]                               ` <55CD5ECA.6090705@hotmail.com>
2015-08-14  3:22                                 ` gchen gchen
     [not found]                               ` <55CD5F09.8010704@hotmail.com>
2015-08-14  3:25                                 ` gchen gchen
2015-08-14  8:44                                   ` Peter Maydell
     [not found]                                     ` <55CDB679.6000806@hotmail.com>
2015-08-14  9:37                                       ` gchen gchen
2015-08-14 14:44                                         ` Richard Henderson
2015-08-14 20:45                                           ` Chen Gang
     [not found]                                             ` <55D43765.9010101@hotmail.com>
2015-08-19  8:01                                               ` gchen gchen
     [not found]                                                 ` <55DE8C0B.40808@hotmail.com>
2015-08-27  4:04                                                   ` Chen Gang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55CB6113.5060907@twiddle.net \
    --to=rth@twiddle.net \
    --cc=agraf@suse.de \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    --cc=xili_gchen_5257@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.