[Top][All Lists]

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

Re: [Qemu-devel] Re: [PATCH] mark host pages as reserved

From: Fabrice Bellard
Subject: Re: [Qemu-devel] Re: [PATCH] mark host pages as reserved
Date: Tue, 11 Dec 2007 10:14:49 +0100
User-agent: Thunderbird (X11/20070727)

Magnus Damm wrote:
Hi everyone,

On Dec 5, 2007 5:45 PM, Magnus Damm <address@hidden> wrote:
Hi all,

This patch teaches the user space emulator about host pages. It marks
present host page mappings with PAGE_RESERVED so mmap_find_vma()
properly can detect that pages at mmap_next_start should be skipped
over instead of being overwritten using mmap(). Without this patch I
experience crashes with the arm or sh4 user space emulator together
with sbox2. This combination sometimes result in that host libraries
are mapped into the qemu process space starting from 0x4xxxxxxx
instead of 0xb7xxxxxx. This together with the initial value of
mmap_next_start results in a segfault when the elf loader overwrites
the mapped host libraries with the target binary.

Comments anyone?

Any reason for not applying this patch? This fixes user space
emulation for all targets.

It seems OK.


reply via email to

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