qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: riku.voipio@iki.fi
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/2] linux-user: revive GUEST_BASE support
Date: Thu,  9 Apr 2009 18:05:34 +0300	[thread overview]
Message-ID: <cover.1239288946.git.riku.voipio@iki.fi> (raw)

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

             reply	other threads:[~2009-04-09 15:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09 15:05 riku.voipio [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1239288946.git.riku.voipio@iki.fi \
    --to=riku.voipio@iki.fi \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).