qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: qemu devel list <qemu-devel@nongnu.org>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Peter Maydell <peter.maydell@linaro.org>,
	Laszlo Ersek <lersek@redhat.com>
Subject: [Qemu-devel] [PATCH 0/2] clean up SYS_signalfd
Date: Wed, 21 Jan 2015 13:57:15 +0100	[thread overview]
Message-ID: <1421845037-5374-1-git-send-email-lersek@redhat.com> (raw)

SYS_signalfd is deprecated and absent on some Linux systems that do
support signalfd().

Also, in 2015 the signalfd() libc function should be available wherever
the underlying syscall(s) are available.

Drop SYS_signalfd and check for & use signalfd() directly.

Laszlo Ersek (2):
  qemu_signalfd_available(): remove function due to lack of callers
  signalfd(): modernize detection and use

 configure               | 11 ++++++++---
 include/qemu/compatfd.h |  1 -
 util/compatfd.c         | 24 ++----------------------
 3 files changed, 10 insertions(+), 26 deletions(-)

-- 
1.8.3.1

             reply	other threads:[~2015-01-21 12:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-21 12:57 Laszlo Ersek [this message]
2015-01-21 12:57 ` [Qemu-devel] [PATCH 1/2] qemu_signalfd_available(): remove function due to lack of callers Laszlo Ersek
2015-01-21 12:57 ` [Qemu-devel] [PATCH 2/2] signalfd(): modernize detection and use Laszlo Ersek
2015-01-21 13:15 ` [Qemu-devel] [PATCH 0/2] clean up SYS_signalfd Paolo Bonzini

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=1421845037-5374-1-git-send-email-lersek@redhat.com \
    --to=lersek@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /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).