From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZxJj-0003HG-7w for qemu-devel@nongnu.org; Thu, 10 Sep 2015 04:34:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZxJf-0006dm-Tl for qemu-devel@nongnu.org; Thu, 10 Sep 2015 04:34:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZxJf-0006dg-P7 for qemu-devel@nongnu.org; Thu, 10 Sep 2015 04:34:47 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 70913C0B987C for ; Thu, 10 Sep 2015 08:34:47 +0000 (UTC) Date: Thu, 10 Sep 2015 09:34:43 +0100 From: "Daniel P. Berrange" Message-ID: <20150910083443.GA11366@redhat.com> References: <1441192183-4812-1-git-send-email-marcandre.lureau@redhat.com> <1441192183-4812-2-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1441192183-4812-2-git-send-email-marcandre.lureau@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/3] monitor: split MonitorQAPIEventState Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: marcandre.lureau@redhat.com Cc: amit.shah@redhat.com, lersek@redhat.com, qemu-devel@nongnu.org On Wed, Sep 02, 2015 at 01:09:41PM +0200, marcandre.lureau@redhat.com wro= te: > From: Marc-Andr=C3=A9 Lureau >=20 > Create a separate pending event structure MonitorQAPIEventPending. > Use a MonitorQAPIEventDelay callback to handle the delaying. This > allows other implementations of throttling. >=20 > Signed-off-by: Marc-Andr=C3=A9 Lureau > --- > monitor.c | 124 +++++++++++++++++++++++++++++++++++++--------------= -------- > trace-events | 2 +- > 2 files changed, 79 insertions(+), 47 deletions(-) Reviewed-by: Daniel P. Berrange Regards, Daniel --=20 |: http://berrange.com -o- http://www.flickr.com/photos/dberrange= / :| |: http://libvirt.org -o- http://virt-manager.or= g :| |: http://autobuild.org -o- http://search.cpan.org/~danberr= / :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vn= c :|