[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 06/10] Revived GUEST_BASE support for usermode e
From: |
Martin Mohring |
Subject: |
Re: [Qemu-devel] [PATCH 06/10] Revived GUEST_BASE support for usermode emulation targets [v2] |
Date: |
Thu, 30 Apr 2009 09:07:29 +0200 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20081227) |
address@hidden wrote:
> From: Mika Westerberg <address@hidden>
>
> From: Mika Westerberg <address@hidden>
>
> - Now GUEST_BASE is dynamic and can be set from command line.
> - Qemu checks /proc/sys/vm/mmap_min_addr and sets GUEST_BASE
> if needed.
> - Code generation supports GUEST_BASE for i386 and x86_64 hosts.
>
this is a patch that finally solved my problems on linux systems where
/proc/sys/vm/mmap_min_addr is set to non zero.
from my point of view: pls apply. i have tested it on arm targets Debian
Lenny, Ubuntu 9.04 and Fedora 10. works fine for me.
> [v2]: implemented GUEST_BASE with single LEA
>
> Changed TCG (on x86 and x86_64) to generate single LEA instead
> of MOV+ADD when calculating GUEST_BASE host addresses.
>
> From: Mika Westerberg <address@hidden>
> Signed-off-by: Riku Voipio <address@hidden>
> ---
> configure | 9 +++++++
> cpu-all.h | 6 ++++-
> linux-user/elfload.c | 24 ++++++++++++++++++++
> linux-user/main.c | 54
> +++++++++++++++++++++++++++++++++++++++++++++++
> linux-user/qemu.h | 3 ++
> tcg/i386/tcg-target.c | 14 ++++++++++++
> tcg/x86_64/tcg-target.c | 14 ++++++++++++
> 7 files changed, 123 insertions(+), 1 deletions(-)
>
I combine this patch with patch 1+2 of the same series.
- [Qemu-devel] [PATCH 01/10] export mmap_find_vma for shmat, riku . voipio, 2009/04/29
- [Qemu-devel] [PATCH 02/10] Implement shm* syscalls and fix 64/32bit errors, riku . voipio, 2009/04/29
- [Qemu-devel] [PATCH 04/10] linux-user: added x86 and x86_64 support for ELF coredump, riku . voipio, 2009/04/29
- [Qemu-devel] [PATCH 06/10] Revived GUEST_BASE support for usermode emulation targets [v2], riku . voipio, 2009/04/29
- [Qemu-devel] [PATCH 05/10] linux-user: strace now handles guest strings correctly, riku . voipio, 2009/04/29
- [Qemu-devel] [PATCH 10/10] Return EOPNOTSUPP instead of ENOSYS for *xattr* syscalls, riku . voipio, 2009/04/29
- [Qemu-devel] [PATCH 03/10] linux-user: implemented ELF coredump support for ARM target [v2], riku . voipio, 2009/04/29
- [Qemu-devel] [PATCH 08/10] Fix struct termios host - target translation, riku . voipio, 2009/04/29
- [Qemu-devel] [PATCH 09/10] linux-user: fix utimensat with NULL timespec, riku . voipio, 2009/04/29
- [Qemu-devel] [PATCH 07/10] linux-user: fix utimensat when used as futimens, riku . voipio, 2009/04/29
- Re: [Qemu-devel] [PATCH 01/10] export mmap_find_vma for shmat, Martin Mohring, 2009/04/30