aboutsummaryrefslogtreecommitdiff
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2018-03-02 11:48:45 +0100
committerKevin Wolf <kwolf@redhat.com>2018-03-19 12:01:24 +0100
commit3b5a1f6aa4a2878c47d9e8f9b835682cbab2f581 (patch)
treec2740ca0d4f3197ecc0a4e966c15c898eb2e10b2 /qemu-io-cmds.c
parentfb367e039fca2ac95a4e06dce22108f76cd4d232 (diff)
downloadqemu-3b5a1f6aa4a2878c47d9e8f9b835682cbab2f581.zip
qemu-3b5a1f6aa4a2878c47d9e8f9b835682cbab2f581.tar.gz
qemu-3b5a1f6aa4a2878c47d9e8f9b835682cbab2f581.tar.bz2
luks: Separate image file creation from formatting
The crypto driver used to create the image file in a callback from the crypto subsystem. If we want to implement .bdrv_co_create, this needs to go away because that callback will get a reference to an already existing block node. Move the image file creation to block_crypto_create_generic(). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions