From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X08at-00024N-Qu for qemu-devel@nongnu.org; Thu, 26 Jun 2014 08:16:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X08ao-00049E-Tn for qemu-devel@nongnu.org; Thu, 26 Jun 2014 08:15:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X08ao-000497-KK for qemu-devel@nongnu.org; Thu, 26 Jun 2014 08:15:54 -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 (8.14.4/8.14.4) with ESMTP id s5QCFrMp002936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 26 Jun 2014 08:15:54 -0400 Message-ID: <53AC0EF8.3030802@redhat.com> Date: Thu, 26 Jun 2014 06:15:52 -0600 From: Eric Blake MIME-Version: 1.0 References: <1403781075-30989-1-git-send-email-lersek@redhat.com> <1403781075-30989-2-git-send-email-lersek@redhat.com> In-Reply-To: <1403781075-30989-2-git-send-email-lersek@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="InpfWlHdmmAhMOduo6wHw9jQ37rTaqXdR" Subject: Re: [Qemu-devel] [PATCH for-2.1 v2 1/2] virtio-serial: report frontend connection state via monitor List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laszlo Ersek , qemu-devel@nongnu.org, mprivozn@redhat.com, kraxel@redhat.com, amit.shah@redhat.com, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --InpfWlHdmmAhMOduo6wHw9jQ37rTaqXdR Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/26/2014 05:11 AM, Laszlo Ersek wrote: > Libvirt wants to know about the guest-side connection state of some > virtio-serial ports (in particular the one(s) assigned to guest agent(s= )). > Report such states with a new monitor event. >=20 > RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=3D1080376 > Signed-off-by: Laszlo Ersek > --- >=20 > +++ b/monitor.c > @@ -584,8 +584,9 @@ static void monitor_qapi_event_init(void) > /* Limit guest-triggerable events to 1 per second */ > monitor_qapi_event_throttle(QAPI_EVENT_RTC_CHANGE, 1000); > monitor_qapi_event_throttle(QAPI_EVENT_WATCHDOG, 1000); > monitor_qapi_event_throttle(QAPI_EVENT_BALLOON_CHANGE, 1000); > + monitor_qapi_event_throttle(QAPI_EVENT_VSERPORT_CHANGE, 1000); > /* limit the rate of quorum events to avoid hammering the manageme= nt */ > monitor_qapi_event_throttle(QAPI_EVENT_QUORUM_REPORT_BAD, 1000); Trivial merge conflict with Wenchao's pending patch: https://lists.gnu.org/archive/html/qemu-devel/2014-06/msg05897.html but the resolution is obvious. Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --InpfWlHdmmAhMOduo6wHw9jQ37rTaqXdR 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/ iQEcBAEBCAAGBQJTrA74AAoJEKeha0olJ0NqzHYH/1dZeyfRDXoxIR8P7pf4HmM8 Yx/6UxVjMMvRhco+GS1+t06JLIu0w+i5fmDNJ/PsjGkcuzWvGg7vAUWUDClHKoNz J6cnQzMVE5HH9/m7ofcwtUyxD9CpI9uKdEhQFxom0/hShrizMrTnsJQQiFOaB0Fr zZFsh9lLc86uWdezrCmwns+zpTPpMSx7WKVX5l2jP8jHOfoV2j6KAhCZ5yENdfUP 3DZnVcVE9iHlTehjbnDHExmbeQBezhcRSc0XujKkXvD57gKhDifCAavu5vO5vG8D 7noWW/0n28GieV8iQN8YeX98SMAAw+v2fO42TxWB2Wgx737WifjhH09ioahMfiE= =0MoG -----END PGP SIGNATURE----- --InpfWlHdmmAhMOduo6wHw9jQ37rTaqXdR--