diff options
author | Or Ozeri <oro@il.ibm.com> | 2023-01-29 05:31:20 -0600 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-02-23 19:49:35 +0100 |
commit | 0f385a2420d2c3f8ae7ed65fbe2712027664059e (patch) | |
tree | d905bdcbc1c0a79bb22ada3431bf95162aee320f /block/commit.c | |
parent | b8f218ef6036d4d62968f6da9319c9d0663539dd (diff) | |
download | qemu-0f385a2420d2c3f8ae7ed65fbe2712027664059e.zip qemu-0f385a2420d2c3f8ae7ed65fbe2712027664059e.tar.gz qemu-0f385a2420d2c3f8ae7ed65fbe2712027664059e.tar.bz2 |
block/rbd: Add support for layered encryption
Starting from ceph Reef, RBD has built-in support for layered encryption,
where each ancestor image (in a cloned image setting) can be possibly
encrypted using a unique passphrase.
A new function, rbd_encryption_load2, was added to librbd API.
This new function supports an array of passphrases (via "spec" structs).
This commit extends the qemu rbd driver API to use this new librbd API,
in order to support this new layered encryption feature.
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Message-Id: <20230129113120.722708-4-oro@oro.sl.cloud9.ibm.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions