On (Tue) 08 Sep 2015 [12:18:53], Marc-André Lureau wrote: > ping I'd rather the qmp / qapi maintainers chimed in - the changes touch that part of code rather than the virtio-serial related code.
> > On Wed, Sep 2, 2015 at 1:09 PM, <marcandre.lur...@redhat.com> wrote: > > From: Marc-André Lureau <marcandre.lur...@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 > > > > > > -- > Marc-André Lureau Amit