aboutsummaryrefslogtreecommitdiff
path: root/dump
diff options
context:
space:
mode:
Diffstat (limited to 'dump')
-rw-r--r--dump/dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dump/dump.c b/dump/dump.c
index 4819050764..84064d890d 100644
--- a/dump/dump.c
+++ b/dump/dump.c
@@ -108,11 +108,11 @@ static int dump_cleanup(DumpState *s)
s->guest_note = NULL;
if (s->resume) {
if (s->detached) {
- qemu_mutex_lock_iothread();
+ bql_lock();
}
vm_start();
if (s->detached) {
- qemu_mutex_unlock_iothread();
+ bql_unlock();
}
}
migrate_del_blocker(&dump_migration_blocker);