docs/devel/qapi-code-gen: Discourage use of 'prefix'
authorMarkus Armbruster <armbru@redhat.com>
Fri, 28 Feb 2025 13:43:35 +0000 (14:43 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 6 Mar 2025 09:33:05 +0000 (10:33 +0100)
commit71ba2613ad470b6397868ae7333cd255e467be68
tree54290f5f1d32471bd0dc141ce87ef73b53be2db2
parent45e5b49360224019eddd307e34ea5625e4e730bf
docs/devel/qapi-code-gen: Discourage use of 'prefix'

QAPI's 'prefix' feature can make the connection between enumeration
type and its constants less than obvious.  It's best used with
restraint.  Commit 7bbadc60b5..64f5e9db77 eliminated most uses.
Discourage new ones.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20250228134335.132278-1-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
docs/devel/qapi-code-gen.rst