On Fri, Mar 09, 2018 at 06:27:09PM +0100, Kevin Wolf wrote: > Everything that refers to the protocol layer or QemuOpts is moved out of > block_crypto_create_generic(), so that the remaining function is > suitable to be called by a .bdrv_co_create implementation. > > LUKS is the only driver that actually implements the old interface, and > we don't intend to use it in any new drivers, so put the moved out code > directly into a LUKS function rather than creating a generic > intermediate one. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > block/crypto.c | 95 > +++++++++++++++++++++++++++++++++++++--------------------- > 1 file changed, 61 insertions(+), 34 deletions(-)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|