qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 2.2 v2 0/3] linux-user: Fix posix timer implementation
@ 2014-11-10 17:44 Alexander Graf
  2014-11-10 17:44 ` [Qemu-devel] [PATCH 2.2 v2 1/3] linux-user: Fix timer_create timer id return type Alexander Graf
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexander Graf @ 2014-11-10 17:44 UTC (permalink / raw)
  To: qemu-devel; +Cc: tommusta, riku.voipio, peter.maydell

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-10 17:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-10 17:44 [Qemu-devel] [PATCH 2.2 v2 0/3] linux-user: Fix posix timer implementation Alexander Graf
2014-11-10 17:44 ` [Qemu-devel] [PATCH 2.2 v2 1/3] linux-user: Fix timer_create timer id return type Alexander Graf
2014-11-10 17:55   ` Peter Maydell
2014-11-10 17:44 ` [Qemu-devel] [PATCH 2.2 v2 2/3] linux-user: Properly handle timer magic offset Alexander Graf
2014-11-10 17:44 ` [Qemu-devel] [PATCH 2.2 v2 3/3] linux-user: Use target_timer_t type for timer parameters Alexander Graf
2014-11-10 17:57   ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).