linux-user: revive GUEST_BASE support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | linux-user: strace now handles guest strings correctlylinux-user/ linux-user/ linux-user/ +1 more | +1058 | 0 replies | |
| 2/2 | Revived GUEST_BASE support for usermode emulation targets.configure cpu-all.h linux-user/ +4 more | +118 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/2] linux-user: revive GUEST_BASE support
From: Riku Voipio <[email protected]>
On modern distros, /proc/sys/vm/mmap_min_addr is set to 65k, thus making linux-user not work out of box. By making GUEST_BASE setting work again, we can automatically map the binary higher.
In order not to break strace when host and target pointer no longet match, make strace not use targer pointers directly. While at it, expand syscall flags in the same real strace does.
Mika Westerberg (2):
linux-user: strace now handles guest strings correctly Revived GUEST_BASE support for usermode emulation targets.
configure | 9 + cpu-all.h | 6 +- linux-user/elfload.c | 24 ++ linux-user/main.c | 53 +++ linux-user/qemu.h | 3 + linux-user/strace.c | 1013 ++++++++++++++++++++++++++++++++++++++++++++- linux-user/strace.list | 109 +++--- linux-user/syscall.c | 6 - linux-user/syscall_defs.h | 6 + tcg/i386/tcg-target.c | 12 + tcg/x86_64/tcg-target.c | 12 + 11 files changed, 1176 insertions(+), 77 deletions(-)