Files
qemu/migration
Ilya Maximets ef862b9e8e 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: 46343570c0 ("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>
(cherry picked from commit 55d0fe8254)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2019-03-27 01:31:28 -05:00
..
2017-09-27 11:35:59 +01:00
2018-07-10 12:48:53 +01:00
2018-07-10 12:48:53 +01:00
2017-09-27 11:35:59 +01:00
2018-06-15 14:40:56 +01:00
2018-07-10 12:48:53 +01:00
2017-05-18 18:04:54 +02:00
2017-05-18 18:04:54 +02:00