[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 05/10] qapi: Formalize qcow encryption probing
From: |
Max Reitz |
Subject: |
[Qemu-devel] [PATCH v2 05/10] qapi: Formalize qcow encryption probing |
Date: |
Mon, 11 Jun 2018 22:51:58 +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 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/qapi/block-core.json b/qapi/block-core.json
index 295ace42ae..98295ac30e 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -2647,8 +2647,9 @@
# Since: 2.10
##
{ 'union': 'BlockdevQcowEncryption',
- 'base': { 'format': 'BlockdevQcowEncryptionFormat' },
+ 'base': { '*format': 'BlockdevQcowEncryptionFormat' },
'discriminator': 'format',
+ 'default-variant': 'aes',
'data': { 'aes': 'QCryptoBlockOptionsQCow' } }
##
--
2.17.1
- [Qemu-devel] [PATCH v2 00/10] block: Try to create well typed json:{} filenames, Max Reitz, 2018/06/11
- [Qemu-devel] [PATCH v2 02/10] docs/qapi: Document optional discriminators, Max Reitz, 2018/06/11
- [Qemu-devel] [PATCH v2 01/10] qapi: Add default-variant for flat unions, Max Reitz, 2018/06/11
- [Qemu-devel] [PATCH v2 03/10] tests: Add QAPI optional discriminator tests, Max Reitz, 2018/06/11
- [Qemu-devel] [PATCH v2 04/10] qapi: Formalize qcow2 encryption probing, Max Reitz, 2018/06/11
- [Qemu-devel] [PATCH v2 05/10] qapi: Formalize qcow encryption probing,
Max Reitz <=
- [Qemu-devel] [PATCH v2 06/10] qdict: Make qdict_flatten() shallow-clone-friendly, Max Reitz, 2018/06/11
- [Qemu-devel] [PATCH v2 07/10] tests: Add QDict clone-flatten test, Max Reitz, 2018/06/11
- [Qemu-devel] [PATCH v2 08/10] block: Try to create well typed json:{} filenames, Max Reitz, 2018/06/11
- [Qemu-devel] [PATCH v2 09/10] iotests: Test internal option typing, Max Reitz, 2018/06/11
- [Qemu-devel] [PATCH v2 10/10] iotests: qcow2's encrypt.format is now optional, Max Reitz, 2018/06/11