From 425b01487a8072c3b16fa4b3fca30d8ecd06e0ca Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 6 Jun 2012 00:04:52 +0200 Subject: block: add bdrv_set_enable_write_cache Signed-off-by: Paolo Bonzini Signed-off-by: Kevin Wolf --- block.h | 1 + 1 file changed, 1 insertion(+) (limited to 'block.h') diff --git a/block.h b/block.h index 574981d..43bfd99 100644 --- a/block.h +++ b/block.h @@ -291,6 +291,7 @@ BlockErrorAction bdrv_get_on_error(BlockDriverState *bs, int is_read); int bdrv_is_read_only(BlockDriverState *bs); int bdrv_is_sg(BlockDriverState *bs); int bdrv_enable_write_cache(BlockDriverState *bs); +void bdrv_set_enable_write_cache(BlockDriverState *bs, bool wce); int bdrv_is_inserted(BlockDriverState *bs); int bdrv_media_changed(BlockDriverState *bs); void bdrv_lock_medium(BlockDriverState *bs, bool locked); -- cgit v1.1