diff options
author | 2006-06-04 11:39:07 +0000 | |
---|---|---|
committer | 2006-06-04 11:39:07 +0000 | |
commit | 7a6cba611d09f8eccdfc90d5ad3eb03762e60ce9 (patch) | |
tree | 43cfb9b27d844ba04ed506226d4cfc0246d5506e /block_int.h | |
parent | More SCSI commands (Blue Swirl). (diff) | |
download | qemu-kvm-7a6cba611d09f8eccdfc90d5ad3eb03762e60ce9.tar.gz qemu-kvm-7a6cba611d09f8eccdfc90d5ad3eb03762e60ce9.tar.bz2 qemu-kvm-7a6cba611d09f8eccdfc90d5ad3eb03762e60ce9.zip |
Disk cache flush support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1949 c046a42c-6fe2-441c-8c8c-71466251a162
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 e3038160e..c2a2e30a9 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); |