Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 15, 2010
  1. @edgarigl

    microblaze: Correct signal frame setup.

    edgarigl authored
    Pass the context in r7.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Commits on Jun 16, 2010
  1. Usermode exec-stack fix

    Paul Brook authored
    When loading a shared library that requires an executable stack,
    glibc uses the mprotext PROT_GROWSDOWN flag to achieve this.
    We don't support PROT_GROWSDOWN.
    Add a special case to handle changing the stack permissions in this way.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
  2. Strace mprotect flags.

    Paul Brook authored
    Teach strace code about linux specific mprotect flags.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
Commits on Jun 11, 2010
  1. @rth7680 @aurel32

    s390x: Avoid _llseek.

    rth7680 authored aurel32 committed
    There's no _llseek on s390x either.  Replace the existing
    test for __x86_64__ with a functional test for __NR_llseek.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Commits on Jun 9, 2010
  1. @bonzini @aurel32

    rename CONFIG_QEMU_PREFIX

    bonzini authored aurel32 committed
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  2. @aurel32

    linux-user: honor low bit of entry PC for MIPS

    Nathan Froyd authored aurel32 committed
    Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Commits on May 29, 2010
  1. Pre-allocate guest address space

    Paul Brook authored
    Allow pre-allocation of the guest virtual address space in usermode emulation.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
Commits on May 28, 2010
  1. @rth7680 @aurel32

    alpha-linux-user: Fill in SI_CODE for SIGSEGV.

    rth7680 authored aurel32 committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  2. @rth7680 @aurel32

    linux-user: Use qemu-malloc.c.

    rth7680 authored aurel32 committed
    Since we're no longer setting PAGE_RESERVED, there's no need to
    implement qemu_malloc via mmap.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  3. @xrmx @aurel32

    linux-user: Fix compilation with DEBUG defined

    xrmx authored aurel32 committed
    Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Commits on May 21, 2010
  1. @suihkulokki @aurel32

    linux-user: do not warn for missing pselect6

    suihkulokki authored aurel32 committed
    Libc will fallback gracefully if pselect6 is not available. Thus put
    pselect6 to nowarn until the atomicity issues of the original pselect6
    patch are dealt with.
    
    Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
    Cc: Michael Casadevall <mcasadevall@ubuntu.com>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  2. @rth7680 @aurel32

    tcg: Initialize the prologue after GUEST_BASE is fixed.

    rth7680 authored aurel32 committed
    This will allow backends to make intelligent choices about how
    to implement GUEST_BASE.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  3. @rth7680 @aurel32

    alpha-linux-user: Fix sigprocmask.

    rth7680 authored aurel32 committed
    Alpha passes oldset by value in a register, and returns the newset
    as the return value; as compared to the standard implementation in
    which both are passed by reference.  This requires being able to
    distinguish negative return values that are not errors.  Do this in
    the same way as the Alpha Linux kernel, by storing a zero in V0 in
    the implementation of the syscall.
    
    At the same time, fix a think-o in the regular sigprocmask path in
    which we passed the target, rather than the host, HOW value.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  4. @rth7680 @aurel32

    alpha-linux-user: Fix sigsuspend parameters.

    rth7680 authored aurel32 committed
    Alpha passes the signal set in a register, not by reference.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  5. @rth7680 @aurel32

    alpha-linux-user: Fix getxpid.

    rth7680 authored aurel32 committed
    Put ppid in the second return register.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  6. @rth7680 @aurel32

    alpha-linux-user: Fix pipe return mechanism.

    rth7680 authored aurel32 committed
    At the same time, tidy the code wrt MIPS and SH4 which have the
    same two register return mechanism.  Fix confusion between pipe
    and pipe2 with an explicit flags=0, when the guest will not be
    using the two register return mechanism.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  7. @rth7680 @aurel32

    alpha-linux-user: Add correct sigaction constants.

    rth7680 authored aurel32 committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  8. @rth7680 @aurel32

    alpha-linux-user: Fix siginfo.si_addr for SIGSEGV and SIGBUS.

    rth7680 authored aurel32 committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  9. @rth7680 @aurel32

    alpha-linux-user: Fix brk error return.

    rth7680 authored aurel32 committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Commits on May 19, 2010
  1. @aurel32

    linux-user: fix 32-bit host breakage

    aurel32 authored
    Fix breakage introduced by commit 81bbe90.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  2. @edgarigl

    microblaze: Update elf machine nums.

    edgarigl authored
    189 was allocated in upstream binutils.
    
    0xbaab was the old temporary value. Still used by some tools and the
    linux kernel.
    
    I've seen 115 in older gdb versions, but lets ignore that one.
    
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
  3. @edgarigl

    microblaze: Add linux-user core dumping support.

    edgarigl authored
    Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Commits on May 18, 2010
  1. @aurel32

    linux-user: rlimit conversion between host and target.

    takasi-y@ops.dti.ne.jp authored aurel32 committed
    rlim_t conversion between host and target added.
    Otherwise there are some incorrect case like
    - RLIM_INFINITY on 32bit target -> 64bit host.
    - RLIM_INFINITY on 64bit host -> mips and sparc target ?
    - Big value(for 32bit target) on 64bit host -> 32bit target.
    
    One is added into getrlimit, setrlimit, and ugetrlimit. It converts both
    RLIM_INFINITY and value bigger than target can hold(>31bit) to RLIM_INFINITY.
    
    Another one is added to guest_stack_size calculation introduced by
    703e0e8. The rule is mostly same except the result on the case is keeping
    the value of guest_stack_size.
    
    Slightly tested for SH4, and x86_64 -linux-user on x86_64-pc-linux host.
    
    Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp>
    Acked-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Commits on May 9, 2010
  1. @blueswirl

    sparc: Fix lazy flag calculation on interrupts, refactor

    blueswirl authored
    Recalculate Sparc64 CPU flags on interrupts, otherwise some earlier
    flags could be stored to pstate.
    
    Refactor PSR/CCR/CWP handling: concentrate the actual
    functions to op_helper.c.
    
    Thanks to Igor Kovalenko for reporting.
    
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Commits on May 5, 2010
  1. Better default guest_base

    Paul Brook authored
    Avoid loading linux-user applications in address space already used/reserved
    by the host.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
  2. Remove PAGE_RESERVED

    Paul Brook authored
    The usermode PAGE_RESERVED code is not required by the current mmap
    implementation, and is already broken when guest_base != 0.
    Unfortunately the bsd emulation still uses the old mmap implementation,
    so we can't rip it out altogether.
    
    Signed-off-by: Paul Brook <paul@codesourcery.com>
Commits on Apr 27, 2010
  1. @rth7680 @aurel32

    target-alpha: Fix load-locked/store-conditional.

    rth7680 authored aurel32 committed
    Use an exception plus start_exclusive to implement the compare-and-swap.
    This follows the example set by the MIPS and PPC ports.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  2. @rth7680 @aurel32

    target-alpha: Enable NPTL.

    rth7680 authored aurel32 committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  3. @rth7680 @aurel32

    target-alpha: Implement rs/rc properly.

    rth7680 authored aurel32 committed
    This is a per-cpu flag; there's no need for a spinlock of any kind.
    
    We were also failing to manipulate the flag with $31 as a target reg
    and failing to clear the flag on execution of a return-from-interrupt
    instruction.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Commits on Apr 26, 2010
  1. @rth7680 @blueswirl

    linux-user: Fix sparc32plus stat64 syscalls.

    rth7680 authored blueswirl committed
    Check TARGET_ABI_BITS, not TARGET_LONG_BITS, when deciding
    whether or not the guest needs special 64-bit stat translation.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Commits on Apr 25, 2010
  1. @rth7680 @blueswirl

    linux-user: Fix Sparc64 syscall returns.

    rth7680 authored blueswirl committed
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  2. @rth7680 @blueswirl

    linux-user: Remove ELFLOAD32.

    rth7680 authored blueswirl committed
    The ABI-specific types used by linux_binprm and image_info
    are different after forcing TARGET_ABI32 on.  Which means
    that the parameters that load_elf_binary_multi sees are not
    those that loader_exec passed.  This is inherently broken
    and is more trouble than it's worth fixing.
    
    Signed-off-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Commits on Apr 13, 2010
  1. @aurel32

    linux-user: do_shmdt(): Fix page_set_flags's 2nd arg.

    takasi-y@ops.dti.ne.jp authored aurel32 committed
    2nd arg of page_set_flags() should be start+size, but size.
    
    Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp>
    Acked-by: Richard Henderson <rth@twiddle.net>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Commits on Apr 8, 2010
  1. @aurel32

    linux-user: switch default ppc64 CPU to 970fx from 970

    aurel32 authored
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Commits on Apr 1, 2010
  1. @aurel32

    Fix compilation with missing inotify_init1

    Stefan Weil authored aurel32 committed
    Commit c05c7a7
    breaks cross compilation for mips (and other
    compilations without CONFIG_INOTIFY1):
    
    make[1]: Entering directory `/qemu/bin/mips'
      CC    i386-linux-user/syscall.o
    cc1: warnings being treated as errors
    /qemu/linux-user/syscall.c: In function ‘do_syscall’:
    /qemu/linux-user/syscall.c:7067: error: implicit declaration of function ‘sys_inotify_init1’
    
    Cc: Riku Voipio <riku.voipio@nokia.com>
    Cc: Aurelien Jarno <aurelien@aurel32.net>
    Signed-off-by: Stefan Weil <weil@mail.berlios.de>
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Something went wrong with that request. Please try again.