[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH for-2.1 v2 1/2] virtio-serial: report frontend c
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH for-2.1 v2 1/2] virtio-serial: report frontend connection state via monitor |
Date: |
Thu, 26 Jun 2014 06:15:52 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
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.
>
> RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1080376
> Signed-off-by: Laszlo Ersek <address@hidden>
> ---
>
> +++ 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 management */
> 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 <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature