Statistics
| Branch: | Revision:

root / linux-user @ 3a9d8549

Name Size
  alpha
  arm
  cris
  i386
  m68k
  microblaze
  mips
  mips64
  mipsn32
  ppc
  sh4
  sparc
  sparc64
  unicore32
  x86_64
cpu-uname.c 2.5 kB
cpu-uname.h 49 Bytes
elfload.c 80 kB
errno_defs.h 8.8 kB
flat.h 2.5 kB
flatload.c 25.6 kB
ioctls.h 16.1 kB
linux_loop.h 2.3 kB
linuxload.c 4.9 kB
m68k-sim.c 4.8 kB
main.c 109.4 kB
mmap.c 23 kB
qemu-types.h 595 Bytes
qemu.h 13.8 kB
signal.c 145.1 kB
socket.h 5 kB
strace.c 38.8 kB
strace.list 46.8 kB
syscall.c 241.1 kB
syscall_defs.h 73.2 kB
syscall_types.h 5.9 kB
target_flat.h 625 Bytes
uaccess.c 1.6 kB
vm86.c 15.2 kB

Latest revisions

# Date Author Comment
6f11f013 05/02/2011 10:00 am Stefan Weil

linux-user: Fix compilation for "old" linux versions

Debian Lenny and other installations with older linux versions
failed to compile linux-user because some CLONE_xxx macros are
undefined.

Signed-off-by: Stefan Weil <>
Signed-off-by: Riku Voipio <>

e95d3bf0 05/02/2011 10:00 am Mike McCormack

Fix buffer overrun in sched_getaffinity

Zeroing of the cpu array should start from &cpus[kernel_ret]
not &cpus[num_zeros_to_fill].

This fixes a crash in EFL's edje_cc running under qemu-arm.

Signed-off-by: Mike McCormack <>
Reviewed-by: Stefan Hajnoczi <>...

cd18f05e 05/02/2011 10:00 am Mike McCormack

Don't zero out buffer in sched_getaffinity

The kernel doesn't fill the buffer provided to sched_getaffinity
with zero bytes, so neither should QEMU.

Signed-off-by: Mike McCormack <>
Reviewed-by: Stefan Hajnoczi <>...

86fcd946 04/26/2011 10:15 am Laurent Vivier

linux-user: add ioctl(SIOCGIWNAME, ...) support.

Allow to run properly following program from linux-user:

/* cc -o wifi wifi.c */

#include &lt;stdio.h&gt;
#include &lt;sys/ioctl.h&gt;
#include &lt;sys/types.h&gt;
#include &lt;sys/socket.h&gt;
#include &lt;linux/wireless.h&gt;
#include &lt;netinet/in.h&gt;...
42a39fbe 04/26/2011 10:15 am Alexander Graf

linux-user: add s390x to llseek list

We keep a list of host architectures that do llseek with the same
syscall as lseek. S390x is one of them, so let's add it to the list.

Original-patch-by: Ulrich Hecht <>
Signed-off-by: Alexander Graf <>...

0c866a7e 04/26/2011 10:15 am Riku Voipio

linux-user: untie syscalls from UID16

Quite a number of uid/gid related syscalls are only defined on systems
with USE_UID16 defined. This is apperently based on the idea that these
system calls would never be called on non-UID16 systems. Make these
syscalls available for all architectures that define them....

05098a93 04/26/2011 10:15 am Riku Voipio

[v2] linux-user: bigger default stack

PTHREAD_STACK_MIN (16KB) is somewhat inadequate for a new stack for new
QEMU threads. Set new limit to 256K which should be enough, yet doesn't
increase memory pressure significantly.

Signed-off-by: Riku Voipio <>...

608e5592 04/26/2011 10:15 am Laurent Vivier

linux-user: improve traces

Add trace details for getpid(), kill(), _llseek(), rt_sigaction(),
rt_sigprocmask(), clone().

Signed-off-by: Laurent Vivier <>
Signed-off-by: Riku Voipio <>

059c2f2c 04/26/2011 10:15 am Laurent Vivier

linux-user: convert ioctl(SIOCGIFCONF, ...) result.

The result needs to be converted as it is stored in an array of struct
ifreq and sizeof(struct ifreq) differs according to target and host
alignment rules.

This patch allows to execute correctly the following program on arm...

7cb4db8f 04/25/2011 11:15 pm Peter Maydell

linux-user/arm/nwfpe: rename REG_PC to ARM_REG_PC

The REG_PC constant used in the ARM nwfpe code is fine in the kernel
but when used in qemu can clash with a definition in the host system
include files (in particular on Ubuntu Lucid SPARC, including signal.h...

View revisions

Also available in: Atom