Re: [PATCH 10/18] qapi/crypto: Drop unwanted 'prefix'

2024-07-30 Thread Daniel P . Berrangé
On Tue, Jul 30, 2024 at 10:10:24AM +0200, Markus Armbruster wrote: > QAPI's 'prefix' feature can make the connection between enumeration > type and its constants less than obvious. It's best used with > restraint. > > QCryptoAkCipherKeyType has a 'prefix' that overrides the generated > enumeratio

[PATCH 10/18] qapi/crypto: Drop unwanted 'prefix'

2024-07-30 Thread Markus Armbruster
QAPI's 'prefix' feature can make the connection between enumeration type and its constants less than obvious. It's best used with restraint. QCryptoAkCipherKeyType has a 'prefix' that overrides the generated enumeration constants' prefix to QCRYPTO_AKCIPHER_KEY_TYPE. Drop it. The prefix becomes