summaryrefslogtreecommitdiff
path: root/include/sysemu
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-08-23 21:42:40 +0800
committerEric Blake <eblake@redhat.com>2017-08-23 10:21:55 -0500
commitca2e214411598154d6b36ea70ba7900fbaeedc93 (patch)
treea93775293c329b048a944b4738773680adf8ed90 /include/sysemu
parentc16de8f59a2bcbe2dc037524cc648de896f581a4 (diff)
downloadqemu-ca2e214411598154d6b36ea70ba7900fbaeedc93.tar.gz
block-backend: Allow more "can inactivate" cases
These two conditions corresponds to mirror job's source and target, which need to be allowed as they are part of the non-shared storage migration workflow: failing to inactivate either will result in a failure during migration completion. Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <20170823134242.12080-3-famz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> [eblake: improve comment grammar] Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r--include/sysemu/block-backend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/block-backend.h b/include/sysemu/block-backend.h
index 4a3730596b..aadc733daf 100644
--- a/include/sysemu/block-backend.h
+++ b/include/sysemu/block-backend.h
@@ -241,5 +241,6 @@ void blk_set_io_limits(BlockBackend *blk, ThrottleConfig *cfg);
void blk_io_limits_disable(BlockBackend *blk);
void blk_io_limits_enable(BlockBackend *blk, const char *group);
void blk_io_limits_update_group(BlockBackend *blk, const char *group);
+void blk_set_force_allow_inactivate(BlockBackend *blk);
#endif