block: implement the bdrv_reopen_prepare helper for LUKS driver
commitf87e08f9e24b43d123bbbafd3348bf0f3d67c31a
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 18 Jan 2018 10:31:43 +0000 (18 10:31 +0000)
committerKevin Wolf <kwolf@redhat.com>
Fri, 9 Mar 2018 14:17:47 +0000 (9 15:17 +0100)
tree3b3c7889ea98ace0c67e2c81e5ccb0cbb0a3af54
parentd9bbfea646e86426d549bd612cd9f91e49aa50c2
block: implement the bdrv_reopen_prepare helper for LUKS driver

If the bdrv_reopen_prepare helper isn't provided, the qemu-img commit
command fails to re-open the base layer after committing changes into
it. Provide a no-op implementation for the LUKS driver, since there
is not any custom work that needs doing to re-open it.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/crypto.c