aboutsummaryrefslogtreecommitdiff
path: root/block.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-05 21:53:49 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-05 21:53:49 +0000
commitf58c7b354595228e10f023e86b80a7bab527186a (patch)
tree5cf33990d51f7f9e38cddcdef9cc30cfa194eae5 /block.h
parentff7ab59f40e12941530cb1d9ecc9b873d900b132 (diff)
New qemu-img convert -B option, by Marc Bevand.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4672 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block.h')
-rw-r--r--block.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/block.h b/block.h
index b73050556a..e18f4532ae 100644
--- a/block.h
+++ b/block.h
@@ -99,6 +99,8 @@ int qemu_key_check(BlockDriverState *bs, const char *name);
/* Ensure contents are flushed to disk. */
void bdrv_flush(BlockDriverState *bs);
+int bdrv_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors,
+ int *pnum);
#define BDRV_TYPE_HD 0
#define BDRV_TYPE_CDROM 1