From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsWiD-0007Je-6W for qemu-devel@nongnu.org; Thu, 05 Jun 2014 08:24:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsWi8-0000km-AA for qemu-devel@nongnu.org; Thu, 05 Jun 2014 08:24:05 -0400 Received: from mail-pd0-x22c.google.com ([2607:f8b0:400e:c02::22c]:44666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsWi8-0000kO-2z for qemu-devel@nongnu.org; Thu, 05 Jun 2014 08:24:00 -0400 Received: by mail-pd0-f172.google.com with SMTP id fp1so1019449pdb.3 for ; Thu, 05 Jun 2014 05:23:59 -0700 (PDT) From: Wenchao Xia Date: Thu, 5 Jun 2014 05:22:02 -0700 Message-Id: <1401970944-18735-8-git-send-email-wenchaoqemu@gmail.com> In-Reply-To: <1401970944-18735-1-git-send-email-wenchaoqemu@gmail.com> References: <1401970944-18735-1-git-send-email-wenchaoqemu@gmail.com> Subject: [Qemu-devel] [PATCH V6 07/29] qapi: add new schema file qapi-event.json List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mdroth@linux.vnet.ibm.com, armbru@redhat.com, Wenchao Xia , lcapitulino@redhat.com Signed-off-by: Wenchao Xia --- Makefile | 12 ++++++++---- qapi-schema.json | 2 ++ 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 qapi-event.json diff --git a/Makefile b/Makefile index 237657e..554fb2d 100644 --- a/Makefile +++ b/Makefile @@ -247,22 +247,26 @@ $(SRC_PATH)/qga/qapi-schema.json $(SRC_PATH)/scripts/qapi-commands.py $(qapi-py) " GEN $@") qapi-types.c qapi-types.h :\ -$(SRC_PATH)/qapi-schema.json $(SRC_PATH)/scripts/qapi-types.py $(qapi-py) +$(SRC_PATH)/qapi-schema.json $(SRC_PATH)/qapi-event.json \ +$(SRC_PATH)/scripts/qapi-types.py $(qapi-py) $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-types.py \ $(gen-out-type) -o "." -b -i $<, \ " GEN $@") qapi-visit.c qapi-visit.h :\ -$(SRC_PATH)/qapi-schema.json $(SRC_PATH)/scripts/qapi-visit.py $(qapi-py) +$(SRC_PATH)/qapi-schema.json $(SRC_PATH)/qapi-event.json \ +$(SRC_PATH)/scripts/qapi-visit.py $(qapi-py) $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-visit.py \ $(gen-out-type) -o "." -b -i $<, \ " GEN $@") qapi-event.c qapi-event.h :\ -$(SRC_PATH)/qapi-schema.json $(SRC_PATH)/scripts/qapi-event.py $(qapi-py) +$(SRC_PATH)/qapi-schema.json $(SRC_PATH)/qapi-event.json \ +$(SRC_PATH)/scripts/qapi-event.py $(qapi-py) $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-event.py \ $(gen-out-type) -o "." -b -i $<, \ " GEN $@") qmp-commands.h qmp-marshal.c :\ -$(SRC_PATH)/qapi-schema.json $(SRC_PATH)/scripts/qapi-commands.py $(qapi-py) +$(SRC_PATH)/qapi-schema.json $(SRC_PATH)/qapi-event.json \ +$(SRC_PATH)/scripts/qapi-commands.py $(qapi-py) $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-commands.py \ $(gen-out-type) -o "." -m -i $<, \ " GEN $@") diff --git a/qapi-event.json b/qapi-event.json new file mode 100644 index 0000000..e69de29 diff --git a/qapi-schema.json b/qapi-schema.json index 115d8d0..d04514a 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -4798,3 +4798,5 @@ ## { 'enum': 'BlockErrorAction', 'data': [ 'ignore', 'report', 'stop' ] } + +{ 'include': 'qapi-event.json' } -- 1.7.1