qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v4 10/14] qapi: Formalize qcow encryption probing


From: Max Reitz
Subject: [Qemu-devel] [PATCH v4 10/14] qapi: Formalize qcow encryption probing
Date: Mon, 24 Jun 2019 19:39:30 +0200

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 <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]