diff options
author | BenoƮt Canet <benoit.canet@gmail.com> | 2012-03-23 08:36:49 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-04-05 16:27:56 +0200 |
commit | 077892696b900ebf88052fef917367213db80477 (patch) | |
tree | 417007721e838e14c4a5cf32f6b6c1c5608b3247 /block.h | |
parent | ccb1f4a7b32fbebcf0d49beab1d2614f0a657d5a (diff) | |
download | qemu-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |