aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2024-09-04 13:18:22 +0200
committerMarkus Armbruster <armbru@redhat.com>2024-09-10 13:22:47 +0200
commitd23d2ef3d0a72dd741b3cec330e53dd1a765b665 (patch)
tree088f56d60419e95ba277439eb45f3c6b2c36cb76 /qapi
parent55872c7061bc198d4bb4744c6b8be13ba0b7ed66 (diff)
downloadqemu-d23d2ef3d0a72dd741b3cec330e53dd1a765b665.zip
qemu-d23d2ef3d0a72dd741b3cec330e53dd1a765b665.tar.gz
qemu-d23d2ef3d0a72dd741b3cec330e53dd1a765b665.tar.bz2
qapi/crypto: Drop temporary 'prefix'
Recent commit "qapi: Smarter camel_to_upper() to reduce need for 'prefix'" added two temporary 'prefix' to delay changing the generated code. Revert them. This improves QCryptoBlockFormat's generated enumeration constant prefix from Q_CRYPTO_BLOCK_FORMAT to QCRYPTO_BLOCK_FORMAT, and QCryptoBlockLUKSKeyslotState's from Q_CRYPTO_BLOCKLUKS_KEYSLOT_STATE to QCRYPTO_BLOCK_LUKS_KEYSLOT_STATE. Signed-off-by: Markus Armbruster <armbru@redhat.com> Acked-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20240904111836.3273842-6-armbru@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/crypto.json2
1 files changed, 0 insertions, 2 deletions
diff --git a/qapi/crypto.json b/qapi/crypto.json
index a192641..fb00c70 100644
--- a/qapi/crypto.json
+++ b/qapi/crypto.json
@@ -157,7 +157,6 @@
# Since: 2.6
##
{ 'enum': 'QCryptoBlockFormat',
- 'prefix': 'Q_CRYPTO_BLOCK_FORMAT', # TODO drop
'data': ['qcow', 'luks']}
##
@@ -360,7 +359,6 @@
# Since: 5.1
##
{ 'enum': 'QCryptoBlockLUKSKeyslotState',
- 'prefix': 'Q_CRYPTO_BLOCKLUKS_KEYSLOT_STATE', # TODO drop
'data': [ 'active', 'inactive' ] }
##