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~