qcrypto/core: add generic infrastructure for crypto options amendment
commit43cbd06df2dcdfe236e68351bb3c350e0d1d857a
authorMaxim Levitsky <mlevitsk@redhat.com>
Thu, 25 Jun 2020 12:55:36 +0000 (25 14:55 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 6 Jul 2020 06:49:28 +0000 (6 08:49 +0200)
tree64c4ab0ba1a95b19aca9f952f1e29fcd02da0cb5
parentd2a839ede850bbb23493ac03b1c2477026fe6bc7
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>
block/crypto.c
block/crypto.h
crypto/block.c
crypto/blockpriv.h
include/crypto/block.h
qapi/crypto.json