[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2.1 07/36] monitor: add an implemention of qapi
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 2.1 07/36] monitor: add an implemention of qapi event emit method |
Date: |
Wed, 18 Jun 2014 22:03:52 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 06/18/2014 12:43 AM, Paolo Bonzini wrote:
> From: Wenchao Xia <address@hidden>
>
> 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.
>
> 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 = 0. They will be fixed automatically after
> full event conversion later.
This comment is now stale, given...
>
> Signed-off-by: Wenchao Xia <address@hidden>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> 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)
...these workarounds.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 2.1 04/36] qapi script: add event support, (continued)
- [Qemu-devel] [PATCH 2.1 04/36] qapi script: add event support, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 01/36] os-posix: include sys/time.h, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 05/36] test: add test cases for qapi event, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 08/36] qapi: add new schema file qapi-event.json, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 03/36] qapi: add event helper functions, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 06/36] qapi: adjust existing defines, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 07/36] monitor: add an implemention of qapi event emit method, Paolo Bonzini, 2014/06/18
- Re: [Qemu-devel] [PATCH 2.1 07/36] monitor: add an implemention of qapi event emit method,
Eric Blake <=
- [Qemu-devel] [PATCH 2.1 09/36] qapi event: convert SHUTDOWN, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 10/36] qapi event: convert POWERDOWN, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 11/36] qapi event: convert RESET, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 12/36] qapi event: convert STOP, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 14/36] qapi event: convert SUSPEND, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 15/36] qapi event: convert SUSPEND_DISK, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 16/36] qapi event: convert WAKEUP, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 13/36] qapi event: convert RESUME, Paolo Bonzini, 2014/06/18
- [Qemu-devel] [PATCH 2.1 17/36] qapi event: convert RTC_CHANGE, Paolo Bonzini, 2014/06/18