From: Zhao Liu <zhao1.liu@intel.com>
To: Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, Zhao Liu <zhao1.liu@intel.com>
Subject: [PATCH 2/2] qapi: List block-core.json in qapi-schema.json
Date: Fri, 17 May 2024 14:27:48 +0800 [thread overview]
Message-ID: <20240517062748.782366-3-zhao1.liu@intel.com> (raw)
In-Reply-To: <20240517062748.782366-1-zhao1.liu@intel.com>
Currently, block-core.json is not explicitly listed in the
qapi-schema.json.
To make the dependencies clearer, list block-core.json in section 2.
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
---
qapi/qapi-schema.json | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/qapi/qapi-schema.json b/qapi/qapi-schema.json
index 57ea6bcb33e9..14196128c44e 100644
--- a/qapi/qapi-schema.json
+++ b/qapi/qapi-schema.json
@@ -77,6 +77,8 @@
#
# All their dependencies are listed in the section 1.
+# include common.json, crypto.json, job.json, sockets.json
+{ 'include': 'block-core.json' }
# include sockets.json
{ 'include': 'char.json' }
# include machine-common.json
@@ -96,19 +98,17 @@
# Section 3. Files with 2-level dependencies.
#
-# Their dependencies are either listed in the previous sections, or are
-# not listed but include files from the previous section. At least one
-# dependency is a 1-level dependency file.
+# All their dependencies are listed in the previous sections. At least one
+# dependency is from section 2.
-# include sockets.json (section 1), block-core.json (not listed, 1-level
-# dependencies)
+# include sockets.json (section 1), block-core.json (section 2)
{ 'include': 'block-export.json' }
-# include block-core.json (not listed, 1-level dependencies)
+# include block-core.json (section 2)
{ 'include': 'block.json' }
# include authz.json (section 1), common.json (section 1), crypto.json
-# (section 1), block-core.json (not listed, 1-level dependencies)
+# (section 1), block-core.json (section 2)
{ 'include': 'qom.json' }
-# include block-core.json (not listed, 1-level dependencies)
+# include block-core.json (section 2)
{ 'include': 'transaction.json' }
# Section 4. Files with 3-level dependencies.
--
2.34.1
next prev parent reply other threads:[~2024-05-17 6:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-17 6:27 [PATCH 0/2] qapi/qapi-schema: Clarify the dependency relationship Zhao Liu
2024-05-17 6:27 ` [PATCH 1/2] qapi: Reorder and categorize json files in qapi-schema.json Zhao Liu
2024-05-17 6:27 ` Zhao Liu [this message]
2024-05-30 14:11 ` [PATCH 0/2] qapi/qapi-schema: Clarify the dependency relationship Zhao Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240517062748.782366-3-zhao1.liu@intel.com \
--to=zhao1.liu@intel.com \
--cc=armbru@redhat.com \
--cc=eblake@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).