[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 01/16] qapi-schema: Document how generated docume
From: |
Markus Armbruster |
Subject: |
[Qemu-devel] [PATCH v2 01/16] qapi-schema: Document how generated documentation is ordered |
Date: |
Thu, 24 Aug 2017 21:13:53 +0200 |
Documentation generated with qapi2texi.py is in source order, with
included sub-schemas inserted at the first include directive
(subsequent include directives have no effect). To get a sane and
stable order, it's best to include each sub-schema just once, or
include it first in qapi-schema.json. Document that.
While there, drop a few redundant comments.
Signed-off-by: Markus Armbruster <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
---
qapi-schema.json | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 802ea53..3db3d19 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -72,22 +72,17 @@
'q_obj_CpuInfo-base' # CPU, visible through query-cpu
] } }
-# QAPI common definitions
+# Documentation generated with qapi2texi.py is in source order, with
+# included sub-schemas inserted at the first include directive
+# (subsequent include directives have no effect). To get a sane and
+# stable order, it's best to include each sub-schema just once, or
+# include it first in qapi-schema.json.
+
{ 'include': 'qapi/common.json' }
-
-# QAPI crypto definitions
{ 'include': 'qapi/crypto.json' }
-
-# QAPI block definitions
{ 'include': 'qapi/block.json' }
-
-# QAPI event definitions
{ 'include': 'qapi/event.json' }
-
-# Tracing commands
{ 'include': 'qapi/trace.json' }
-
-# QAPI introspection
{ 'include': 'qapi/introspect.json' }
##
--
2.7.5
- [Qemu-devel] [PATCH v2 00/16] qapi-schema: Reorganize along maintenance boundaries, Markus Armbruster, 2017/08/24
- [Qemu-devel] [PATCH v2 02/16] qapi-schema: Introspection doc is in the wrong section, fix, Markus Armbruster, 2017/08/24
- [Qemu-devel] [PATCH v2 03/16] qapi-schema: Rocker doc section contains unrelated stuff, fix, Markus Armbruster, 2017/08/24
- [Qemu-devel] [PATCH v2 01/16] qapi-schema: Document how generated documentation is ordered,
Markus Armbruster <=
- [Qemu-devel] [PATCH v2 14/16] qapi-schema: Make block-core.json self-contained, Markus Armbruster, 2017/08/24
- [Qemu-devel] [PATCH v2 13/16] qapi-schema: Fold event.json back into qapi-schema.json, Markus Armbruster, 2017/08/24
- [Qemu-devel] [PATCH v2 16/16] qapi-schema: Improve section headings, Markus Armbruster, 2017/08/24
- [Qemu-devel] [PATCH v2 04/16] qapi-schema: Collect sockets stuff in qapi/sockets.json, Markus Armbruster, 2017/08/24
- [Qemu-devel] [PATCH v2 15/16] qapi-schema: Move queries from common.json to qapi-schema.json, Markus Armbruster, 2017/08/24