From: Jan Kiszka <jan.kiszka@siemens.com>
To: Anthony Liguori <aliguori@us.ibm.com>, qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>
Subject: [Qemu-devel] [PATCH v3 00/10] Use more central threading and synchronization services
Date: Thu, 5 Apr 2012 12:59:07 +0200 [thread overview]
Message-ID: <cover.1333623555.git.jan.kiszka@siemens.com> (raw)
Patches 1-3 are unmodified from the previous round. Patches 4-10 aim at
consolidating our event abstractions over a single QemuEvent object.
This is heavily based on Paolo's work, just slightly refactored, plugged
into the qemu-thread-* infrastructure and applied on more consumers.
CC: Michael S. Tsirkin <mst@redhat.com>
Jan Kiszka (10):
Introduce qemu_cond_timedwait for POSIX
Switch POSIX compat AIO to QEMU abstractions
Switch compatfd to QEMU thread
qemu-thread: Factor out qemu_error_exit
Introduce QemuEvent abstraction
Use QemuEvent in main loop
Drop unused qemu_eventfd
Use QemuEvent for POSIX AIO
virtio: Switch to QemuEvent
Remove EventNotifier
Makefile | 2 +-
Makefile.objs | 7 ++-
compatfd.c | 16 +----
event_notifier.c | 61 -----------------
event_notifier.h | 28 --------
hw/vhost.c | 4 +-
hw/virtio-pci.c | 61 +++++++----------
hw/virtio.c | 12 ++--
hw/virtio.h | 6 +-
main-loop.c | 104 ++++--------------------------
oslib-posix.c | 31 ---------
posix-aio-compat.c | 180 ++++++++++++---------------------------------------
qemu-common.h | 1 -
qemu-event-posix.c | 110 +++++++++++++++++++++++++++++++
qemu-event-win32.c | 65 ++++++++++++++++++
qemu-thread-posix.c | 51 +++++++++++----
qemu-thread-posix.h | 10 +++
qemu-thread-win32.c | 18 +++---
qemu-thread-win32.h | 4 +
qemu-thread.h | 14 ++++
20 files changed, 349 insertions(+), 436 deletions(-)
delete mode 100644 event_notifier.c
delete mode 100644 event_notifier.h
create mode 100644 qemu-event-posix.c
create mode 100644 qemu-event-win32.c
--
1.7.3.4
next reply other threads:[~2012-04-05 11:03 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-05 10:59 Jan Kiszka [this message]
2012-04-05 10:59 ` [Qemu-devel] [PATCH v3 01/10] Introduce qemu_cond_timedwait for POSIX Jan Kiszka
2012-04-05 11:19 ` Peter Maydell
2012-04-05 11:56 ` Jan Kiszka
2012-04-05 12:15 ` Peter Maydell
2012-04-05 12:30 ` malc
2012-04-05 12:37 ` Paolo Bonzini
2012-04-05 12:53 ` malc
2012-04-05 12:56 ` Paolo Bonzini
2012-04-05 12:59 ` Jan Kiszka
2012-04-05 13:00 ` malc
2012-04-05 13:03 ` Jan Kiszka
2012-04-05 13:20 ` malc
2012-04-05 13:24 ` Jan Kiszka
2012-04-05 13:37 ` malc
2012-04-05 12:59 ` malc
2012-04-05 10:59 ` [Qemu-devel] [PATCH v3 02/10] Switch POSIX compat AIO to QEMU abstractions Jan Kiszka
2012-04-05 10:59 ` [Qemu-devel] [PATCH v3 03/10] Switch compatfd to QEMU thread Jan Kiszka
2012-04-05 10:59 ` [Qemu-devel] [PATCH v3 04/10] qemu-thread: Factor out qemu_error_exit Jan Kiszka
2012-04-05 10:59 ` [Qemu-devel] [PATCH v3 05/10] Introduce QemuEvent abstraction Jan Kiszka
2012-04-05 11:23 ` Paolo Bonzini
2012-04-05 12:20 ` Jan Kiszka
2012-04-05 10:59 ` [Qemu-devel] [PATCH v3 06/10] Use QemuEvent in main loop Jan Kiszka
2012-04-05 10:59 ` [Qemu-devel] [PATCH v3 07/10] Drop unused qemu_eventfd Jan Kiszka
2012-04-05 10:59 ` [Qemu-devel] [PATCH v3 08/10] Use QemuEvent for POSIX AIO Jan Kiszka
2012-04-05 10:59 ` [Qemu-devel] [PATCH v3 09/10] virtio: Switch to QemuEvent Jan Kiszka
2012-04-05 10:59 ` [Qemu-devel] [PATCH v3 10/10] Remove EventNotifier Jan Kiszka
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=cover.1333623555.git.jan.kiszka@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=aliguori@us.ibm.com \
--cc=kwolf@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--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).