qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Loading ELF binaries with very high base addresses


From: Prashant Vaibhav
Subject: Re: [Qemu-devel] Loading ELF binaries with very high base addresses
Date: Wed, 13 Jul 2011 02:28:05 +0530

Yes, exactly what happened when loading a non-trivial binary.  :-(
Oh well.


On Wed, Jul 13, 2011 at 12:04 AM, Richard Henderson <address@hidden> wrote:
On 07/12/2011 09:43 AM, Alexander Graf wrote:
> For now, just force the mapping to somewhere mappable :)

Unfortunately, I can tell you that there is no such place.

The text segment is mapped by default at 0x4000000000000000
and the data segment is by default mapped at 0x6000000000000000.

If you set guest_base = 0xc000000000000000, which remaps
the text segment to 0, then the data segment will still be
at 0x2000000000000000, which x86_64 still cannot represent.

If you hack the address mapping routines to simply drop the
high bits, then the text and data segments will map on top
of one another.  You can well imagine how well that will work.

The *only* way to solve this is with softmmu.


r~


reply via email to

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