summaryrefslogtreecommitdiff
path: root/include/block
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2015-06-16 16:23:54 +0200
committerKevin Wolf <kwolf@redhat.com>2015-10-16 15:34:29 +0200
commitb26e90f56ad3a494ee6337d2075f4dc55b62b3c6 (patch)
tree16792a48bddcae024e0a02d5722be57c41318f33 /include/block
parent9a4f4c31563b96a075f3deae83e72c726e0c84f8 (diff)
downloadqemu-b26e90f56ad3a494ee6337d2075f4dc55b62b3c6.zip
block: Remove bdrv_open_image()
It is unused now. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Fam Zheng <famz@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/block.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/block/block.h b/include/block/block.h
index c5d9620fa9..20d5810a49 100644
--- a/include/block/block.h
+++ b/include/block/block.h
@@ -205,10 +205,6 @@ void bdrv_swap(BlockDriverState *bs_new, BlockDriverState *bs_old);
void bdrv_append(BlockDriverState *bs_new, BlockDriverState *bs_top);
int bdrv_parse_cache_flags(const char *mode, int *flags);
int bdrv_parse_discard_flags(const char *mode, int *flags);
-int bdrv_open_image(BlockDriverState **pbs, const char *filename,
- QDict *options, const char *bdref_key,
- BlockDriverState* parent, const BdrvChildRole *child_role,
- bool allow_none, Error **errp);
BdrvChild *bdrv_open_child(const char *filename,
QDict *options, const char *bdref_key,
BlockDriverState* parent,