Statistics
| Branch: | Revision:

root / linux-user @ dd0bcfca

Name Size
  alpha
  arm
  cris
  i386
  m68k
  microblaze
  mips
  mips64
  mipsn32
  ppc
  s390x
  sh4
  sparc
  sparc64
  unicore32
  x86_64
Makefile.objs 229 Bytes
cpu-uname.c 2.5 kB
cpu-uname.h 49 Bytes
elfload.c 83.4 kB
errno_defs.h 8.8 kB
flat.h 2.5 kB
flatload.c 25.4 kB
ioctls.h 18.5 kB
linux_loop.h 2.3 kB
linuxload.c 4.5 kB
m68k-sim.c 4.8 kB
main.c 120 kB
mmap.c 23.4 kB
qemu-types.h 742 Bytes
qemu.h 14.2 kB
signal.c 156.4 kB
socket.h 5 kB
strace.c 39 kB
strace.list 46.8 kB
syscall.c 269.3 kB
syscall_defs.h 77.2 kB
syscall_types.h 7.3 kB
target_flat.h 625 Bytes
uaccess.c 1.6 kB
vm86.c 15.2 kB

Latest revisions

# Date Author Comment
eeacee4d 06/21/2012 09:45 pm Blue Swirl

qemu-log: cleanup

Don't use global variables directly but via accessor functions. Rename globals.

Convert macros to functions, add GCC format attributes.

Signed-off-by: Blue Swirl <>

7fc5152c 06/07/2012 08:17 am Paolo Bonzini

build: move *-user/ objects to nested Makefile.objs

Signed-off-by: Paolo Bonzini <>

ff18b762 06/05/2012 12:00 am Andreas Färber

linux-user: Use cpu_reset() after cpu_init() / cpu_copy()

Eliminates cpu_state_reset() usage.

Signed-off-by: Andreas Färber <>

77a8f1a5 05/19/2012 06:49 pm Alexander Graf

linux-user: Fix stale tbs after mmap

If we execute linux-user code that does the following:

  • A = mmap()
  • execute code in A
  • munmap(A)
  • B = mmap(), but mmap returns the same address as A
  • execute code in B

we end up executing a stale cached tb that contains translated code...

1a49ef2a 05/03/2012 05:31 pm Alexander Graf

linux-user: fix emulation of /proc/self/maps

Improve the emulation of /proc/self/maps by reading the underlying
host maps file and passing lines through with addresses adjusted
to be guest addresses. This is necessary to avoid false triggers
of the glibc check that a format string containing '%n' is not in...

209c4849 05/03/2012 05:31 pm Andreas Färber

linux-user: Clean up interim solution for exit syscall

After all target CPUs have been QOM'ified, we no longer need an #ifdef
to switch between object_delete() and g_free() in NPTL thread exit.

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

11ea4090 04/15/2012 07:54 pm Andreas Färber

linux-user: Fix exit syscall with QOM CPU

For QOM'ified CPUs we cannot g_free() CPUArchState, we must
object_delete() the object it is embedded into.

Fixes LP#982321 (invalid free() while executing pacman with qemu-arm).

Reported-by: Serge Schneider <>...

d8fd2954 04/06/2012 07:25 pm Paul Brook

Userspace ARM BE8 support

Add support for ARM BE8 userspace binaries.
i.e. big-endian data and little-endian code.
In principle LE8 mode is also possible, but AFAIK has never actually
been implemented/used.

System emulation doesn't have any useable big-endian board models,...

adf050b1 04/06/2012 07:06 pm Benoit Canet

arm-linux-user: fix elfload.c's AT_HWCAP to reflect cpu features.

The cpu capabilities passed by the elf loader in AT_HWCAP where
a constant.
Make AT_HWCAP reflect the emulated cpu features in order to give
correct clues to eglibc.

Riku Voipio: fixed to apply to current head...

d1b02ea0 04/06/2012 06:49 pm Peter Maydell

linux-user/arm/syscall_nr.h: Add syscall number for ppoll

The list of ARM syscall numbers was missing the entry for ppoll,
which meant we were accidentally not providing it. (This wasn't
causing any practical issues beyond warnings about unimplemented
syscalls, because glibc will fall back to another code path if the...

View revisions

Also available in: Atom