Statistics
| Branch: | Revision:

root / linux-user @ 6a1751b7

Name Size
  alpha
  arm
  cris
  i386
  m68k
  microblaze
  mips
  mips64
  openrisc
  ppc
  s390x
  sh4
  sparc
  sparc64
  unicore32
  x86_64
Makefile.objs 229 Bytes
cpu-uname.c 2.4 kB
cpu-uname.h 49 Bytes
elfload.c 87.4 kB
errno_defs.h 8.8 kB
flat.h 2.5 kB
flatload.c 25.4 kB
ioctls.h 18.6 kB
linux_loop.h 2.3 kB
linuxload.c 4.5 kB
m68k-sim.c 4.8 kB
main.c 128 kB
mmap.c 23.5 kB
qemu.h 15.3 kB
signal.c 161.5 kB
socket.h 12.3 kB
strace.c 41 kB
strace.list 46.7 kB
syscall.c 278.4 kB
syscall_defs.h 79.1 kB
syscall_types.h 7.4 kB
target_flat.h 625 Bytes
uaccess.c 1.6 kB
vm86.c 15.2 kB

Latest revisions

# Date Author Comment
b04636f8 07/30/2013 03:56 am Peter Maydell

linux-user/signal.c: PPC: Silence clang uninitialized-use warning

Silence a clang warning in a PPC signal return function:

/home/petmay01/linaro/qemu-from-laptop/qemu/linux-user/signal.c:4611:9: error: variable 'sr_addr' is used
uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]...

978fae9f 07/30/2013 03:56 am Peter Maydell

linux-user/signal.c: Avoid using uninitialized data in ARM sigreturn

Rephrase code used in ARM sigreturn functions to avoid using
uninitialized variables. This fixes one genuine problem ('frame'
would not be initialized if we took the error-exit path because...

95c1eb19 07/30/2013 03:56 am Peter Maydell

linux-user: Return success from m68k set_thread_area syscall

The m68k set_thread_area syscall implementation failed to set the
return value. Correctly set it zero, since this syscall will always
succeed.

Signed-off-by: Peter Maydell <>...

b0932e06 07/29/2013 01:37 am Petar Jovanovic

linux-user: correct argument number for sys_mremap and sys_splice

sys_mremap missed 5th argument (new_address), which caused examples that
remap to a specific address to fail.
sys_splice missed 5th and 6th argument which caused different examples to
fail....

0ac46af3 07/27/2013 12:05 am Andreas Färber

linux-user: Avoid redundant ENV_GET_CPU()

This fixes a mismerge in 874ec3c5b3821bb964f9f37b2f930f2a9ce51652.

Acked-by: Riku Voipio <>
Signed-off-by: Andreas Färber <>

874ec3c5 07/25/2013 11:56 pm Anthony Liguori

Merge remote-tracking branch 'riku/linux-user-for-upstream' into staging

  • riku/linux-user-for-upstream: (21 commits)
    linux-user: Handle compressed ISA encodings when processing MIPS exceptions
    linux-user: Unlock mmap_lock when resuming guest from page_unprotect...
a0333817 07/23/2013 05:31 pm Kwok Cheung Yeung

linux-user: Handle compressed ISA encodings when processing MIPS exceptions

Decode trap instructions during the handling of an EXCP_BREAK or EXCP_TRAP
according to the current ISA mode.

Signed-off-by: Kwok Cheung Yeung <>
Signed-off-by: Riku Voipio <>

82f05b69 07/23/2013 05:28 pm Peter Maydell

linux-user: Fix pipe syscall return for SPARC

SPARC is one of the CPUs which has a funny syscall ABI for the
pipe syscall; add it to the set of special cases in do_pipe().

Signed-off-by: Peter Maydell <>
Signed-off-by: Riku Voipio <>

ddaa7e5a 07/23/2013 05:28 pm Alexander Graf

linux-user: Fix epoll on ARM hosts

The epoll emulation uses data structures without packing them, so the
compiler might choose to add padding inside.

This patch makes the most offending one (target_epoll_event) a packed
structure to make sure we don't pad it by accident. ARM would pad it,...

b24c882b 07/23/2013 05:28 pm Alexander Graf

linux-user: Reset copied CPUs in cpu_copy() always

When a new thread gets created, we need to reset non arch specific state to
get the new CPU into clean state.

However this reset should happen before the arch specific CPU contents get
copied over. Otherwise we end up having clean reset state in our newly created...

View revisions

Also available in: Atom