diff options
Diffstat (limited to 'block_int.h')
-rw-r--r-- | block_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block_int.h b/block_int.h index e3038160e6..c2a2e30a9f 100644 --- a/block_int.h +++ b/block_int.h @@ -36,6 +36,7 @@ struct BlockDriver { void (*bdrv_close)(BlockDriverState *bs); int (*bdrv_create)(const char *filename, int64_t total_sectors, const char *backing_file, int flags); + void (*bdrv_flush)(BlockDriverState *bs); int (*bdrv_is_allocated)(BlockDriverState *bs, int64_t sector_num, int nb_sectors, int *pnum); int (*bdrv_set_key)(BlockDriverState *bs, const char *key); |