From: marcandre.lureau@redhat.com
To: qemu-devel@nongnu.org
Cc: amit.shah@redhat.com, lersek@redhat.com,
"Marc-André Lureau" <marcandre.lureau@redhat.com>
Subject: [Qemu-devel] [PATCH 0/3] monitor: throttle VSERPORT_CHANGED by "id"
Date: Wed, 2 Sep 2015 13:09:40 +0200 [thread overview]
Message-ID: <1441192183-4812-1-git-send-email-marcandre.lureau@redhat.com> (raw)
From: Marc-André Lureau <marcandre.lureau@redhat.com>
QAPI_EVENT_VSERPORT_CHANGE reports changes of a virtio serial port
state. However, the events may be for different ports, but the throttle
mechanism may replace the event for a different port, since it only
checks the event type.
The following series implements throttling of events based on the "id"
field. Hopefully this hash table approach can be later extended if
other fields or combination of fields have to be used.
rfc->v1:
- fix uppercase FALSE/TRUE and gpointer (glib-ism)
- spelling fix
Marc-André Lureau (3):
monitor: split MonitorQAPIEventState
monitor: throttle QAPI_EVENT_VSERPORT_CHANGE by "id"
monitor: remove old entries from event hash table
monitor.c | 245 +++++++++++++++++++++++++++++++++++++++++++++--------------
trace-events | 2 +-
2 files changed, 188 insertions(+), 59 deletions(-)
--
2.4.3
next reply other threads:[~2015-09-02 11:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-02 11:09 marcandre.lureau [this message]
2015-09-02 11:09 ` [Qemu-devel] [PATCH 1/3] monitor: split MonitorQAPIEventState marcandre.lureau
2015-09-10 8:34 ` Daniel P. Berrange
2015-09-16 13:57 ` Markus Armbruster
2015-09-17 13:17 ` Marc-André Lureau
2015-09-02 11:09 ` [Qemu-devel] [PATCH 2/3] monitor: throttle QAPI_EVENT_VSERPORT_CHANGE by "id" marcandre.lureau
2015-09-10 8:35 ` Daniel P. Berrange
2015-09-16 16:40 ` Markus Armbruster
2015-09-17 11:28 ` Marc-André Lureau
2015-09-17 14:06 ` Marc-André Lureau
2015-09-02 11:09 ` [Qemu-devel] [PATCH 3/3] monitor: remove old entries from event hash table marcandre.lureau
2015-09-10 8:35 ` Daniel P. Berrange
2015-09-16 16:50 ` Markus Armbruster
2015-09-17 14:43 ` Marc-André Lureau
2015-09-08 10:18 ` [Qemu-devel] [PATCH 0/3] monitor: throttle VSERPORT_CHANGED by "id" Marc-André Lureau
2015-09-10 4:22 ` Amit Shah
2015-09-10 6:46 ` Markus Armbruster
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=1441192183-4812-1-git-send-email-marcandre.lureau@redhat.com \
--to=marcandre.lureau@redhat.com \
--cc=amit.shah@redhat.com \
--cc=lersek@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).