qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Martin Mohring <martin.mohring@opensuse.org>
To: riku.voipio@iki.fi
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 01/10] export mmap_find_vma for shmat
Date: Thu, 30 Apr 2009 09:09:49 +0200	[thread overview]
Message-ID: <49F94EBD.8040208@opensuse.org> (raw)
In-Reply-To: <1241028203-19687-1-git-send-email-riku.voipio@iki.fi>

riku.voipio@iki.fi wrote:
> From: Riku Voipio <riku.voipio@iki.fi>
>
> since mmap_find_vma rewrite is being passively refused, drop it
> for now, and just export the existing function.
>
> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
> ---
>  linux-user/mmap.c |    2 +-
>  linux-user/qemu.h |    1 +
>  2 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/linux-user/mmap.c b/linux-user/mmap.c
> index 6f300a0..aa5813f 100644
> --- a/linux-user/mmap.c
> +++ b/linux-user/mmap.c
> @@ -281,7 +281,7 @@ unsigned long last_brk;
>  */
>  /* page_init() marks pages used by the host as reserved to be sure not
>     to use them. */
> -static abi_ulong mmap_find_vma(abi_ulong start, abi_ulong size)
> +abi_ulong mmap_find_vma(abi_ulong start, abi_ulong size)
>  {
>      abi_ulong addr, addr1, addr_start;
>      int prot;
> diff --git a/linux-user/qemu.h b/linux-user/qemu.h
> index 447caf9..15db106 100644
> --- a/linux-user/qemu.h
> +++ b/linux-user/qemu.h
> @@ -229,6 +229,7 @@ int target_msync(abi_ulong start, abi_ulong len, int flags);
>  extern unsigned long last_brk;
>  void mmap_lock(void);
>  void mmap_unlock(void);
> +abi_ulong mmap_find_vma(abi_ulong, abi_ulong);
>  void cpu_list_lock(void);
>  void cpu_list_unlock(void);
>  #if defined(USE_NPTL)
>   
As I commented I combine this patch with patch 2+6 of the same series.

      parent reply	other threads:[~2009-04-30  7:09 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29 18:03 [Qemu-devel] [PATCH 01/10] export mmap_find_vma for shmat riku.voipio
2009-04-29 18:03 ` [Qemu-devel] [PATCH 02/10] Implement shm* syscalls and fix 64/32bit errors riku.voipio
2009-04-29 18:03 ` [Qemu-devel] [PATCH 03/10] linux-user: implemented ELF coredump support for ARM target [v2] riku.voipio
2009-04-29 18:03 ` [Qemu-devel] [PATCH 04/10] linux-user: added x86 and x86_64 support for ELF coredump riku.voipio
2009-04-29 18:03 ` [Qemu-devel] [PATCH 05/10] linux-user: strace now handles guest strings correctly riku.voipio
2009-04-29 18:03 ` [Qemu-devel] [PATCH 06/10] Revived GUEST_BASE support for usermode emulation targets [v2] riku.voipio
2009-04-29 19:50   ` malc
2009-05-05 13:27     ` [Qemu-devel] [PATCH] Revived GUEST_BASE support for usermode emulation targets [v3] Riku Voipio
2009-05-05 13:53       ` Paul Brook
2009-05-05 14:18         ` Riku Voipio
2009-05-05 14:34           ` Paul Brook
2009-05-05 18:02           ` malc
2009-05-05 20:46             ` [Qemu-devel] [PATCH] Revived GUEST_BASE support for usermode emulation targets [v4] Riku Voipio
2009-05-15  2:25               ` Paul Brook
2009-05-15  8:41                 ` Martin Mohring
2009-05-15  9:50                   ` Paul Brook
2009-05-15  9:57                 ` Riku Voipio
2009-05-15 10:02                   ` Paul Brook
2009-05-15 10:09                     ` Paul Brook
2009-05-15 12:07                     ` malc
2009-05-15 10:12                   ` Martin Mohring
2009-05-15 14:13                     ` Riku Voipio
2009-05-15 15:25                       ` Martin Mohring
2009-04-30  7:07   ` [Qemu-devel] [PATCH 06/10] Revived GUEST_BASE support for usermode emulation targets [v2] Martin Mohring
2009-04-29 18:03 ` [Qemu-devel] [PATCH 07/10] linux-user: fix utimensat when used as futimens riku.voipio
2009-04-29 18:03 ` [Qemu-devel] [PATCH 08/10] Fix struct termios host - target translation riku.voipio
2009-04-29 18:03 ` [Qemu-devel] [PATCH 09/10] linux-user: fix utimensat with NULL timespec riku.voipio
2009-04-29 18:03 ` [Qemu-devel] [PATCH 10/10] Return EOPNOTSUPP instead of ENOSYS for *xattr* syscalls riku.voipio
2009-04-30  7:09 ` Martin Mohring [this message]

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=49F94EBD.8040208@opensuse.org \
    --to=martin.mohring@opensuse.org \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    /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).