On 14.06.2016 18:24, Daniel P. Berrange wrote: > When creating new block encryption volumes, we accept a list of > parameters to control the formatting process. It is useful to > be able to query what those parameters were for existing block > devices. Add a qcrypto_block_get_info() method which returns a > QCryptoBlockInfo instance to report this data. > > Signed-off-by: Daniel P. Berrange <berra...@redhat.com> > --- > crypto/block-luks.c | 67 ++++++++++++++++++++++++++++++++++++++++++++ > crypto/block.c | 17 +++++++++++ > crypto/blockpriv.h | 4 +++ > include/crypto/block.h | 16 +++++++++++ > qapi/crypto.json | 76 > ++++++++++++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 180 insertions(+)
Reviewed-by: Max Reitz <mre...@redhat.com> (I'll be waiting whether Eric wants to comment)
signature.asc
Description: OpenPGP digital signature