[Qemu-devel] [Patch v4 1/2] linux-user: Add target struct defs needed for POSIX timer syscalls.

2013-11-28 Thread erikd
From: Erik de Castro Lopo Signed-off-by: Erik de Castro Lopo --- linux-user/syscall_defs.h | 25 + 1 file changed, 25 insertions(+) diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index fe540f6..cf08db5 100644 --- a/linux-user/syscall_defs.h +++ b/lin

[Qemu-devel] [Patch v4 2/2] linux-user: Implement handling of 5 POSIX timer syscalls.

2013-11-28 Thread erikd
From: Erik de Castro Lopo Implement timer_create, timer_settime, timer_gettime, timer_getoverrun and timer_delete. Signed-off-by: Erik de Castro Lopo --- linux-user/syscall.c | 176 +++ 1 file changed, 176 insertions(+) diff --git a/linux-user/s

[Qemu-devel] Patch v4 : POSIX timer implementation for linux-user.

2013-11-28 Thread erikd
Changes from v3 version of patch (suggestions from agraf on irc): * Fix checkpatch.pl issues. * Use ARRAY_SIZE instead of custom macro. * Pass 0 as last arg to unlock_user_struct() in host_to_target_itimerspec. Changes from original patch: * Call host's libc functions directly rather than _syscal