migration: add missing qemu_mutex_lock_iothread in migration_completion
commit68b88468f6a4144bf0217624fbb0ff6b0fa1d694
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>
Tue, 5 Oct 2021 08:07:51 +0000 (5 04:07 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Oct 2021 11:10:29 +0000 (5 13:10 +0200)
treeca371bc7196b9373e1ae9a72cc833a68d30ca50c
parent3c158eba1e11e52dbd0e14fc8fd40ec80abca436
migration: add missing qemu_mutex_lock_iothread in migration_completion

qemu_savevm_state_complete_postcopy assumes the iothread lock (BQL)
to be held, but instead it isn't.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20211005080751.3797161-3-eesposit@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
migration/migration.c