Statistics
| Branch: | Revision:

root / linux-user @ 80465e80

Name Size
  alpha
  arm
  cris
  i386
  m68k
  microblaze
  mips
  mips64
  mipsn32
  ppc
  s390x
  sh4
  sparc
  sparc64
  unicore32
  x86_64
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 119.9 kB
mmap.c 23.2 kB
qemu-types.h 742 Bytes
qemu.h 14.2 kB
signal.c 156.5 kB
socket.h 5 kB
strace.c 39 kB
strace.list 46.8 kB
syscall.c 268.1 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
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...

354a0008 04/06/2012 06:49 pm Alexander Graf

linux-user: Add ioctl for BLKBSZGET

This patch adds the ioctl wrapper definition for BLKBSZGET.

Signed-off-by: Alexander Graf <>
Signed-off-by: Riku Voipio <>

20249ae1 04/06/2012 06:49 pm Alexander Graf

linux-user: fix fallocate

Fallocate gets off_t parameters passed in, so we should also read them out
accordingly.

Signed-off-by: Alexander Graf <>


v1 -> v2:

- unbreak 64-bit guests

Signed-off-by: Riku Voipio <>

59e9d91c 04/06/2012 06:49 pm Peter Maydell

linux-user: resolve reserved_va vma downwards

After consulting with Paul Brook, we concluded that it's best to search
the VMA space downwards, so that we don't even get the chance to conflict
with the brk range.

This patch resolves a bunch of allocation conflicts when using -R....

288e65b9 04/06/2012 06:49 pm Alexander Graf

linux-user: reserve 4GB of vmem for 32-on-64

When running 32-on-64 bit guests, we should always reserve as much
virtual memory as we possibly can for the guest process, so it can
never overlap with QEMU address space.

Fortunately we already have the infrastructure for that. All that's...

1e6722f8 04/06/2012 06:49 pm Peter Maydell

linux-user/syscall.c: Fix indentation in prctl handling

Clean up the odd indentation of this switch statement before
we double its size by adding new cases to it.

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

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

linux-user: Add support for prctl PR_GET_NAME and PR_SET_NAME

Add support for the prctl options PR_GET_NAME and PR_SET_NAME,
which take or return a name in a 16 byte buffer pointed to by arg2.

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

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