diff options
Diffstat (limited to 'migration/block.c')
-rw-r--r-- | migration/block.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/migration/block.c b/migration/block.c index 9171f60028..606ad4db92 100644 --- a/migration/block.c +++ b/migration/block.c @@ -161,6 +161,11 @@ int blk_mig_active(void) return !QSIMPLEQ_EMPTY(&block_mig_state.bmds_list); } +int blk_mig_bulk_active(void) +{ + return blk_mig_active() && !block_mig_state.bulk_completed; +} + uint64_t blk_mig_bytes_transferred(void) { BlkMigDevState *bmds; |