aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWenchao Xia <wenchaoqemu@gmail.com>2014-06-18 08:43:32 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2014-06-23 11:01:25 -0400
commitf668470f403e83cc4622b1b4e563e2c61fbdfe62 (patch)
tree07c9c1e48ce8707c25201565f2e90acd47279f82
parent43a14cfc0f122f3a18fdfe9e16538a6798b95b59 (diff)
qapi: add new schema file qapi-event.json
Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
-rw-r--r--Makefile3
-rw-r--r--qapi-event.json0
-rw-r--r--qapi-schema.json2
3 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f473cf5637..7d0c8ec7cc 100644
--- a/Makefile
+++ b/Makefile
@@ -247,7 +247,8 @@ $(SRC_PATH)/qga/qapi-schema.json $(SRC_PATH)/scripts/qapi-commands.py $(qapi-py)
" GEN $@")
qapi-modules = $(SRC_PATH)/qapi-schema.json $(SRC_PATH)/qapi/common.json \
- $(SRC_PATH)/qapi/block.json $(SRC_PATH)/qapi/block-core.json
+ $(SRC_PATH)/qapi/block.json $(SRC_PATH)/qapi/block-core.json \
+ $(SRC_PATH)/qapi-event.json
qapi-types.c qapi-types.h :\
$(qapi-modules) $(SRC_PATH)/scripts/qapi-types.py $(qapi-py)
diff --git a/qapi-event.json b/qapi-event.json
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/qapi-event.json
diff --git a/qapi-schema.json b/qapi-schema.json
index 4334e8ff33..e8c55e21a4 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3346,3 +3346,5 @@
# Since: 2.1
##
{ 'command': 'query-acpi-ospm-status', 'returns': ['ACPIOSTInfo'] }
+
+{ 'include': 'qapi-event.json' }