Skip to content

linux-user: Fix posix timer implementation

Alexander Graf qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- remove useless struct, change timer id type to s32
- new patch: Use target_timer_t type for timer parameters
- abort when magic is missing

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3linux-user: Fix timer_create timer id return typelinux-user/syscall.c linux-user/syscall_defs.h+2 -81 reply
2/3linux-user: Properly handle timer magic offsetlinux-user/syscall.c+20 -10 replies
3/3linux-user: Use target_timer_t type for timer parameterslinux-user/syscall.c+2 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH 2.2 v2 0/3] linux-user: Fix posix timer implementation

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(-)
Signature · 1 line
1.7.12.4