diff options
| author | Ilya Maximets | 2018-10-08 18:05:35 +0200 |
|---|---|---|
| committer | Dr. David Alan Gilbert | 2018-10-11 20:58:26 +0200 |
| commit | 55d0fe8254984321a126efd8db358f754737aa63 (patch) | |
| tree | 77d33f8e7098ea82fa3d46393bd46b61294849ad /scripts/git-submodule.sh | |
| parent | tests/migration: Enable the migration test on s390x, too (diff) | |
| download | qemu-55d0fe8254984321a126efd8db358f754737aa63.tar.gz qemu-55d0fe8254984321a126efd8db358f754737aa63.tar.xz qemu-55d0fe8254984321a126efd8db358f754737aa63.zip | |
migration: Stop postcopy fault thread before notifying
POSTCOPY_NOTIFY_INBOUND_END handlers will remove userfault fds
from the postcopy_remote_fds array which could be still in
use by the fault thread. Let's stop the thread before
notification to avoid possible accessing wrong memory.
Fixes: 46343570c06e ("vhost+postcopy: Wire up POSTCOPY_END notify")
Cc: qemu-stable@nongnu.org
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Message-Id: <20181008160536.6332-2-i.maximets@samsung.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'scripts/git-submodule.sh')
0 files changed, 0 insertions, 0 deletions
