From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Seq1y-0003Ln-FK for qemu-devel@nongnu.org; Wed, 13 Jun 2012 12:02:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Seq1i-0003Ob-5a for qemu-devel@nongnu.org; Wed, 13 Jun 2012 12:02:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Seq1h-0003Nf-Pm for qemu-devel@nongnu.org; Wed, 13 Jun 2012 12:02:34 -0400 Date: Wed, 13 Jun 2012 16:04:35 +0100 From: "Daniel P. Berrange" Message-ID: <20120613150435.GA364@redhat.com> References: <1337619593-25823-1-git-send-email-berrange@redhat.com> <1337619593-25823-4-git-send-email-berrange@redhat.com> <20120530155037.4e5d46df@doriath.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20120530155037.4e5d46df@doriath.home> Subject: Re: [Qemu-devel] [PATCH v2 3/3] Add rate limiting of RTC_CHANGE, BALLOON_CHANGE & WATCHDOG events Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: Amit Shah , qemu-devel@nongnu.org, Anthony Liguori , Markus Armbruster On Wed, May 30, 2012 at 03:50:37PM -0300, Luiz Capitulino wrote: > On Mon, 21 May 2012 17:59:53 +0100 > "Daniel P. Berrange" wrote: > > @@ -4564,6 +4709,11 @@ static void sortcmdlist(void) > > * End: > > */ > > > > +void monitor_global_init(void) > > +{ > > It's better to call it monitor_early_init() (or monitor_init_early()). This was a bit of stupidity on my part. The existing 'monitor_init' function (which is called per monitor instance), already has a code block where one-time global initialization is done. So I'm removing this function in the next patch posting. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|