From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwwHb-0001qx-Pd for qemu-devel@nongnu.org; Tue, 17 Jun 2014 12:30:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwwHV-0005XE-1E for qemu-devel@nongnu.org; Tue, 17 Jun 2014 12:30:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwwHU-0005Wy-NZ for qemu-devel@nongnu.org; Tue, 17 Jun 2014 12:30:44 -0400 Message-ID: <53A06D2D.8010000@redhat.com> Date: Tue, 17 Jun 2014 18:30:37 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1401970944-18735-1-git-send-email-wenchaoqemu@gmail.com> <53969C25.7010705@redhat.com> <539CEE42.5090906@gmail.com> <53A01F06.5000209@redhat.com> <53A06752.4060206@redhat.com> In-Reply-To: <53A06752.4060206@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH V6 00/29] add direct support of event in qapi schema List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake , Wenchao Xia , qemu-devel@nongnu.org Cc: lcapitulino@redhat.com, armbru@redhat.com, mdroth@linux.vnet.ibm.com Il 17/06/2014 18:05, Eric Blake ha scritto: >> diff --git a/Makefile b/Makefile >> index 3e65525..f473cf5 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -246,8 +246,7 @@ $(SRC_PATH)/qga/qapi-schema.json $(SRC_PATH)/scripts/qapi-commands.py $(qapi-py) >> $(gen-out-type) -o "." -b -i $<, \ >> " GEN $@") >> qapi-event.c qapi-event.h :\ >> -$(SRC_PATH)/qapi-schema.json $(SRC_PATH)/qapi-event.json \ >> -$(SRC_PATH)/scripts/qapi-event.py $(qapi-py) >> +$(qapi-modules) $(SRC_PATH)/scripts/qapi-event.py $(qapi-py) > > Where's the change that adds qapi/event.json to $(qapi-modules)? (Maybe > the interdiff doesn't show it?) Oops, it's not there. >> +++ b/include/sysemu/os-posix.h >> @@ -26,8 +26,6 @@ >> #ifndef QEMU_OS_POSIX_H >> #define QEMU_OS_POSIX_H >> >> -#include >> - >> void os_set_line_buffering(void); > > Why this hunk? Did you accidentally forget to include Wenchao's 1/29 in > your series? Yes, fixing now. >> @@ -535,14 +533,15 @@ static void monitor_qapi_event_handler(void *opaque) >> * more than 1 event will be emitted within @rate >> * milliseconds >> */ >> -static void monitor_qapi_event_throttle(QAPIEvent event, int64_t rate) >> +static void >> +monitor_qapi_event_throttle(QAPIEvent event, int64_t rate) >> { > > Not the usual qemu formatting style. Yeah, this happened because of __attribute__((__unused__)) and matches other monitor_qapi_ functions. I kind of like the return-type-then-newline too. :) > Overall the interdiff looks like it resolves most of my concerns on v6. > Now for me to read the actual commits in your git repo... Will fix in a moment. Paolo