Received: from eggs.gnu.org ([2001:4830:134:3::10]:55083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xnt0y-0005e1-Ax for qemu-devel@nongnu.org; Mon, 10 Nov 2014 12:44:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xnt0p-0000it-MT for qemu-devel@nongnu.org; Mon, 10 Nov 2014 12:44:32 -0500 Received: from cantor2.suse.de ([195.135.220.15]:42895 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xnt0p-0000iH-G5 for qemu-devel@nongnu.org; Mon, 10 Nov 2014 12:44:23 -0500 From: Alexander Graf Date: Mon, 10 Nov 2014 18:44:19 +0100 Message-Id: <1415641462-52468-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 2.2 v2 0/3] linux-user: Fix posix timer implementation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: tommusta@gmail.com, riku.voipio@iki.fi, peter.maydell@linaro.org Tom recently realized that I accidently broke the posix timer functions. With his simple test program he was able to show that we indeed do break posix timers since my last commit touching them: http://csgraf.de/agraf/timer.c These two patches fix it up properly. With these I can successfully run his test case in any endian combination. Please apply for 2.2. v1 -> v2: - remove useless struct, change timer id type to s32 - new patch: Use target_timer_t type for timer parameters - abort when magic is missing Alex Alexander Graf (3): linux-user: Fix timer_create timer id return type linux-user: Properly handle timer magic offset linux-user: Use target_timer_t type for timer parameters linux-user/syscall.c | 28 ++++++++++++++++++++++------ linux-user/syscall_defs.h | 5 +---- 2 files changed, 23 insertions(+), 10 deletions(-) -- 1.7.12.4