summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaolo Bonzini2017-08-04 17:26:55 +0200
committerKevin Wolf2017-08-08 14:37:00 +0200
commit82346685b8cc0537819a3cf7fe2303b55b5f825f (patch)
tree0b4d1a7ecfd57d83048deb8ea69fe3dded923e1a
parentblock/vhdx: check error return of bdrv_truncate() (diff)
downloadqemu-82346685b8cc0537819a3cf7fe2303b55b5f825f.tar.gz
qemu-82346685b8cc0537819a3cf7fe2303b55b5f825f.tar.xz
qemu-82346685b8cc0537819a3cf7fe2303b55b5f825f.zip
block: drop bdrv_set_key from BlockDriver
This is not used anymore since c01c214b69 ("block: remove all encryption handling APIs", 2017-07-11). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r--include/block/block_int.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h
index d4f4ea7584..7571c0aaaf 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -127,7 +127,6 @@ struct BlockDriver {
Error **errp);
void (*bdrv_close)(BlockDriverState *bs);
int (*bdrv_create)(const char *filename, QemuOpts *opts, Error **errp);
- int (*bdrv_set_key)(BlockDriverState *bs, const char *key);
int (*bdrv_make_empty)(BlockDriverState *bs);
void (*bdrv_refresh_filename)(BlockDriverState *bs, QDict *options);