qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] linux-user: elfload: Still use TARGET_PAGE_SIZE


From: gchen gchen
Subject: Re: [Qemu-devel] [PATCH] linux-user: elfload: Still use TARGET_PAGE_SIZE for i386 guest
Date: Thu, 13 Aug 2015 10:45:25 +0800

On 2015年08月12日 23:06, Richard Henderson wrote:
> 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.
>

Yes. The reason why I am only focus on Alpha is "the machine which I am
working for is almost the same as Alpha. But this machine is very slow,
its performance maybe like 10 years ago's x86_64 laptop".

>> 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.
>

I have tried softmmu, for me, the performance is not acceptable, we can
not use this way.

Our main goal is "let most of Windows XP graphic free programs (but not
open source), can be used by user under Alpha like machine, also its
performance and stability are acceptable".


Thanks.
--
Chen Gang

Open, share, and attitude like air, water, and life which God blessed
                                          

reply via email to

[Prev in Thread] Current Thread [Next in Thread]