aboutsummaryrefslogtreecommitdiff
path: root/block.h
diff options
context:
space:
mode:
authorBenoƮt Canet <benoit.canet@gmail.com>2012-03-23 08:36:49 +0100
committerKevin Wolf <kwolf@redhat.com>2012-04-05 16:27:56 +0200
commit077892696b900ebf88052fef917367213db80477 (patch)
tree417007721e838e14c4a5cf32f6b6c1c5608b3247 /block.h
parentccb1f4a7b32fbebcf0d49beab1d2614f0a657d5a (diff)
downloadqemu-077892696b900ebf88052fef917367213db80477.zip
qemu-077892696b900ebf88052fef917367213db80477.tar.gz
qemu-077892696b900ebf88052fef917367213db80477.tar.bz2
block: add a function to clear incoming live migration flags
This function will clear all BDRV_O_INCOMING flags. Signed-off-by: Benoit Canet <benoit.canet@gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.h')
-rw-r--r--block.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/block.h b/block.h
index 5151dea..f163e54 100644
--- a/block.h
+++ b/block.h
@@ -229,6 +229,8 @@ BlockDriverAIOCB *bdrv_aio_ioctl(BlockDriverState *bs,
void bdrv_invalidate_cache(BlockDriverState *bs);
void bdrv_invalidate_cache_all(void);
+void bdrv_clear_incoming_migration_all(void);
+
/* Ensure contents are flushed to disk. */
int bdrv_flush(BlockDriverState *bs);
int coroutine_fn bdrv_co_flush(BlockDriverState *bs);