qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] monitor: throttle VSERPORT_CHANGED by "id"
@ 2015-09-02 11:09 marcandre.lureau
  2015-09-02 11:09 ` [Qemu-devel] [PATCH 1/3] monitor: split MonitorQAPIEventState marcandre.lureau
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: marcandre.lureau @ 2015-09-02 11:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: amit.shah, lersek, Marc-André Lureau

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-09-17 14:43 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-02 11:09 [Qemu-devel] [PATCH 0/3] monitor: throttle VSERPORT_CHANGED by "id" marcandre.lureau
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

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).