aboutsummaryrefslogtreecommitdiff
path: root/block.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-18 16:49:15 +0200
committerKevin Wolf <kwolf@redhat.com>2012-10-24 10:26:19 +0200
commitac84adac48963653638a1c95dd7c6ab8b4d5a4f3 (patch)
treefb38ab4d50cfb04cafe1056d445efd9a7b72c8fe /block.h
parent587ed6be0b6331b11169da8846b8442840d5428c (diff)
downloadqemu-ac84adac48963653638a1c95dd7c6ab8b4d5a4f3.zip
qemu-ac84adac48963653638a1c95dd7c6ab8b4d5a4f3.tar.gz
qemu-ac84adac48963653638a1c95dd7c6ab8b4d5a4f3.tar.bz2
block: add bdrv_query_info
Extract it out of the implementation of "info block". Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.h')
-rw-r--r--block.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/block.h b/block.h
index e2d89d7..2ede16d 100644
--- a/block.h
+++ b/block.h
@@ -313,6 +313,7 @@ void bdrv_get_backing_filename(BlockDriverState *bs,
char *filename, int filename_size);
void bdrv_get_full_backing_filename(BlockDriverState *bs,
char *dest, size_t sz);
+BlockInfo *bdrv_query_info(BlockDriverState *s);
int bdrv_can_snapshot(BlockDriverState *bs);
int bdrv_is_snapshot(BlockDriverState *bs);
BlockDriverState *bdrv_snapshots(void);