aboutsummaryrefslogtreecommitdiff
path: root/docs/devel/qapi-code-gen.txt
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-03-17 12:54:50 +0100
committerMarkus Armbruster <armbru@redhat.com>2020-03-17 21:42:47 +0100
commitf965e8fea6a915343d160ba6043deb75710d8df1 (patch)
tree50557c3f42431652f1e566b367625151891e1b7f /docs/devel/qapi-code-gen.txt
parent4a8837389ef28554a57cdad8e2fc90ae1362dcb2 (diff)
downloadqemu-f965e8fea6a915343d160ba6043deb75710d8df1.zip
qemu-f965e8fea6a915343d160ba6043deb75710d8df1.tar.gz
qemu-f965e8fea6a915343d160ba6043deb75710d8df1.tar.bz2
qapi: New special feature flag "deprecated"
Unlike regular feature flags, the new special feature flag "deprecated" is recognized by the QAPI generator. For now, it's only permitted with commands, events, and struct members. It will be put to use shortly. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200317115459.31821-26-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> [Doc typo fixed]
Diffstat (limited to 'docs/devel/qapi-code-gen.txt')
-rw-r--r--docs/devel/qapi-code-gen.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/devel/qapi-code-gen.txt b/docs/devel/qapi-code-gen.txt
index 39ae2ca..1967adf 100644
--- a/docs/devel/qapi-code-gen.txt
+++ b/docs/devel/qapi-code-gen.txt
@@ -683,6 +683,12 @@ Intended use is to have each feature string signal that this build of
QEMU shows a certain behaviour.
+==== Special features ====
+
+Feature "deprecated" marks a command, event, or struct member as
+deprecated. It is not supported elsewhere so far.
+
+
=== Naming rules and reserved names ===
All names must begin with a letter, and contain only ASCII letters,