aboutsummaryrefslogtreecommitdiff
path: root/include/block/block_int.h
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2013-10-09 10:46:16 +0200
committerKevin Wolf <kwolf@redhat.com>2013-10-11 10:52:54 +0200
commiteae041fe6f4314962e873615134eefb32cf8ba61 (patch)
tree669c134a3beade6ff5d9fb897a81630c449bae9d /include/block/block_int.h
parentf2bb8a8a47597634b74c161c44b9980c7f4e50ac (diff)
downloadqemu-eae041fe6f4314962e873615134eefb32cf8ba61.zip
qemu-eae041fe6f4314962e873615134eefb32cf8ba61.tar.gz
qemu-eae041fe6f4314962e873615134eefb32cf8ba61.tar.bz2
block: Add bdrv_get_specific_info
Add a function for retrieving an ImageInfoSpecific object from a block driver. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block/block_int.h')
-rw-r--r--include/block/block_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h
index 211087a..17b26b2 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -168,6 +168,7 @@ struct BlockDriver {
int (*bdrv_snapshot_load_tmp)(BlockDriverState *bs,
const char *snapshot_name);
int (*bdrv_get_info)(BlockDriverState *bs, BlockDriverInfo *bdi);
+ ImageInfoSpecific *(*bdrv_get_specific_info)(BlockDriverState *bs);
int (*bdrv_save_vmstate)(BlockDriverState *bs, QEMUIOVector *qiov,
int64_t pos);