Skip to contentSkip to conversation

block: drop bdrv_set_key from BlockDriver

PATCH Applied Paolo Bonzini 4 participants 4 messages Aug 4, 2017 – Aug 7, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: drop bdrv_set_key from BlockDriver

This is not used anymore since c01c214b69 ("block: remove all encryption handling APIs", 2017-07-11).

---
 include/block/block_int.h | 1 -
 1 file changed, 1 deletion(-)
include/block/block_int.h +0 -1
index d4f4ea7584..7571c0aaaf 100644
@@ -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);
Signature · 1 line
2.13.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Paolo Bonzini

This is not used anymore since c01c214b69 ("block: remove all encryption handling APIs", 2017-07-11).

---
 include/block/block_int.h | 1 -
 1 file changed, 1 deletion(-)
Quoted 14 lines
include/block/block_int.h +0 -1
index d4f4ea7584..7571c0aaaf 100644
@@ -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);
Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org