qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: qemu-devel@nongnu.org
Cc: tommusta@gmail.com, riku.voipio@iki.fi, peter.maydell@linaro.org
Subject: [Qemu-devel] [PATCH 2.2 v2 0/3] linux-user: Fix posix timer implementation
Date: Mon, 10 Nov 2014 18:44:19 +0100	[thread overview]
Message-ID: <1415641462-52468-1-git-send-email-agraf@suse.de> (raw)

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

             reply	other threads:[~2014-11-10 17:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-10 17:44 Alexander Graf [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1415641462-52468-1-git-send-email-agraf@suse.de \
    --to=agraf@suse.de \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    --cc=tommusta@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).