qcow only supports a single encryption (and there is no reason why that would change in the future), so we can make it the default.
Signed-off-by: Max Reitz <mre...@redhat.com> --- qapi/block-core.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qapi/block-core.json b/qapi/block-core.json index 9df3fc8bd7..b30a19bf8e 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -3059,7 +3059,9 @@ # Since: 2.10 ## { 'union': 'BlockdevQcowEncryption', - 'base': { 'format': 'BlockdevQcowEncryptionFormat' }, + 'base': { + '*format': { 'type': 'BlockdevQcowEncryptionFormat', 'default': 'aes' } + }, 'discriminator': 'format', 'data': { 'aes': 'QCryptoBlockOptionsQCow' } } -- 2.21.0