commit | f58c7b354595228e10f023e86b80a7bab527186a | [log] [tgz] |
---|---|---|
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | Thu Jun 05 21:53:49 2008 +0000 |
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | Thu Jun 05 21:53:49 2008 +0000 |
tree | 5cf33990d51f7f9e38cddcdef9cc30cfa194eae5 | |
parent | ff7ab59f40e12941530cb1d9ecc9b873d900b132 [diff] [blame] |
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
diff --git a/block.h b/block.h index b730505..e18f453 100644 --- a/block.h +++ b/block.h
@@ -99,6 +99,8 @@ /* 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