diff options
author | Maxim Levitsky <mlevitsk@redhat.com> | 2020-06-25 14:55:36 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2020-07-06 08:49:28 +0200 |
commit | 43cbd06df2dcdfe236e68351bb3c350e0d1d857a (patch) | |
tree | 64c4ab0ba1a95b19aca9f952f1e29fcd02da0cb5 /qapi/crypto.json | |
parent | d2a839ede850bbb23493ac03b1c2477026fe6bc7 (diff) | |
download | qemu-43cbd06df2dcdfe236e68351bb3c350e0d1d857a.zip qemu-43cbd06df2dcdfe236e68351bb3c350e0d1d857a.tar.gz qemu-43cbd06df2dcdfe236e68351bb3c350e0d1d857a.tar.bz2 |
qcrypto/core: add generic infrastructure for crypto options amendment
This will be used first to implement luks keyslot management.
block_crypto_amend_opts_init will be used to convert
qemu-img cmdline to QCryptoBlockAmendOptions
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200608094030.670121-2-mlevitsk@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'qapi/crypto.json')
-rw-r--r-- | qapi/crypto.json | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/qapi/crypto.json b/qapi/crypto.json index b2a4cff..aeb6c7e 100644 --- a/qapi/crypto.json +++ b/qapi/crypto.json @@ -309,3 +309,19 @@ 'base': 'QCryptoBlockInfoBase', 'discriminator': 'format', 'data': { 'luks': 'QCryptoBlockInfoLUKS' } } + + + +## +# @QCryptoBlockAmendOptions: +# +# The options that are available for all encryption formats +# when amending encryption settings +# +# Since: 5.1 +## +{ 'union': 'QCryptoBlockAmendOptions', + 'base': 'QCryptoBlockOptionsBase', + 'discriminator': 'format', + 'data': { + } } |