From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZtNS-0002WY-To for qemu-devel@nongnu.org; Thu, 10 Sep 2015 00:22:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZtNS-0002Oo-4C for qemu-devel@nongnu.org; Thu, 10 Sep 2015 00:22:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZtNR-0002Oi-Tj for qemu-devel@nongnu.org; Thu, 10 Sep 2015 00:22:26 -0400 Date: Thu, 10 Sep 2015 09:52:19 +0530 From: Amit Shah Message-ID: <20150910042219.GA10281@grmbl.mre> References: <1441192183-4812-1-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 0/3] monitor: throttle VSERPORT_CHANGED by "id" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?Q?Marc-Andr=E9?= Lureau Cc: lersek@redhat.com, QEMU , =?iso-8859-1?Q?Marc-Andr=E9?= Lureau On (Tue) 08 Sep 2015 [12:18:53], Marc-Andr=E9 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. >=20 > On Wed, Sep 2, 2015 at 1:09 PM, wrote: > > From: Marc-Andr=E9 Lureau > > > > QAPI_EVENT_VSERPORT_CHANGE reports changes of a virtio serial port > > state. However, the events may be for different ports, but the thrott= le > > 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=E9 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 > > >=20 >=20 >=20 > --=20 > Marc-Andr=E9 Lureau Amit