]> Git Repo - qemu.git/blobdiff - vl.h
Disk cache flush support.
[qemu.git] / vl.h
diff --git a/vl.h b/vl.h
index 94424095713c9d7fab8e9290e33d07149e24893f..2bd49e8ddc9820eb3fb56e704f82d59bfaedc730 100644 (file)
--- a/vl.h
+++ b/vl.h
@@ -496,6 +496,8 @@ int bdrv_write(BlockDriverState *bs, int64_t sector_num,
 void bdrv_get_geometry(BlockDriverState *bs, int64_t *nb_sectors_ptr);
 int bdrv_commit(BlockDriverState *bs);
 void bdrv_set_boot_sector(BlockDriverState *bs, const uint8_t *data, int size);
+/* Ensure contents are flushed to disk.  */
+void bdrv_flush(BlockDriverState *bs);
 
 #define BDRV_TYPE_HD     0
 #define BDRV_TYPE_CDROM  1
This page took 0.0223950000000001 seconds and 4 git commands to generate.