From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxTZz-0003ET-1a for qemu-devel@nongnu.org; Thu, 19 Jun 2014 00:04:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxTZs-0006MC-6s for qemu-devel@nongnu.org; Thu, 19 Jun 2014 00:04:02 -0400 Received: from qmta14.emeryville.ca.mail.comcast.net ([76.96.27.212]:58825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxTZr-0006M0-U6 for qemu-devel@nongnu.org; Thu, 19 Jun 2014 00:03:56 -0400 Message-ID: <53A26128.806@redhat.com> Date: Wed, 18 Jun 2014 22:03:52 -0600 From: Eric Blake MIME-Version: 1.0 References: <1403073840-32603-1-git-send-email-pbonzini@redhat.com> <1403073840-32603-8-git-send-email-pbonzini@redhat.com> In-Reply-To: <1403073840-32603-8-git-send-email-pbonzini@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RW40VrsTmmGKDdLUljEt9jC8NKxIpHka2" Subject: Re: [Qemu-devel] [PATCH 2.1 07/36] monitor: add an implemention of qapi event emit method List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: wenchaoqemu@gmail.com, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RW40VrsTmmGKDdLUljEt9jC8NKxIpHka2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/18/2014 12:43 AM, Paolo Bonzini wrote: > From: Wenchao Xia >=20 > The monitor is now hooked on the new event mechanism, so that later > patches can convert event callers one by one. Most code are copied from= > old monitor_protocol_* functions with some modification. >=20 > Note that two build time warnings will be raised after this patch. One = is > caused by no caller of monitor_qapi_event_throttle(), the other one is > caused by QAPI_EVENT_MAX =3D 0. They will be fixed automatically after > full event conversion later. This comment is now stale, given... >=20 > Signed-off-by: Wenchao Xia > Signed-off-by: Paolo Bonzini > --- > monitor.c | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++- > 1 file changed, 127 insertions(+), 1 deletion(-) > + * milliseconds > + */ > +static void __attribute__((__unused__)) > +monitor_qapi_event_throttle(QAPIEvent event, int64_t rate) > */ > -static void > +static void __attribute__((__unused__)) > monitor_protocol_event_throttle(MonitorEvent event, > int64_t rate) =2E..these workarounds. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --RW40VrsTmmGKDdLUljEt9jC8NKxIpHka2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTomEoAAoJEKeha0olJ0NqDfMH/0KUBliMMJ7NssCUqC1skU63 O6U66DSmXnzHKp6Ib6DxG7wbZdSkdYMLwDTuVAMhzy08oDF5nzL4r8/hsUFoJrZJ pC5ZJGGgfkfHd50M4F8/2aIvalDy4yjgypCPCrqg6G+cp4rvaWwFDFcLWO4EYIMD 93HuJmHANPAl1CLWEd0PyIT8UBG+/0HRXbPNG1Ic9qnLtcmM/q+MAGk2LHQd+2JA kwbW0jJDSmN1dNGU0bawtavW57m4p1K82JLlIHwznxx0+q9p8Qb2mseJ/0yrdkCq 0K5pOejrw5XvXECVYzvbGbSjP3GwrI9sMLY6HDIEtFH+hs/Q49WR4HKKdewYXBs= =CaXo -----END PGP SIGNATURE----- --RW40VrsTmmGKDdLUljEt9jC8NKxIpHka2--