qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] linux-user: revive GUEST_BASE support
@ 2009-04-09 15:05 riku.voipio
  2009-04-09 15:05 ` [Qemu-devel] [PATCH 1/2] linux-user: strace now handles guest strings correctly riku.voipio
  2009-04-09 15:05 ` [Qemu-devel] [PATCH 2/2] Revived GUEST_BASE support for usermode emulation targets riku.voipio
  0 siblings, 2 replies; 6+ messages in thread
From: riku.voipio @ 2009-04-09 15:05 UTC (permalink / raw)
  To: qemu-devel

From: Riku Voipio <riku.voipio@iki.fi>

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(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-04-17 12:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-09 15:05 [Qemu-devel] [PATCH 0/2] linux-user: revive GUEST_BASE support riku.voipio
2009-04-09 15:05 ` [Qemu-devel] [PATCH 1/2] linux-user: strace now handles guest strings correctly riku.voipio
2009-04-09 15:05 ` [Qemu-devel] [PATCH 2/2] Revived GUEST_BASE support for usermode emulation targets riku.voipio
2009-04-09 23:22   ` malc
2009-04-16 23:24     ` Mika Westerberg
2009-04-17 12:27       ` malc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).