]> git.proxmox.com Git - mirror_qemu.git/commit - migration/savevm.c
migration/postcopy: Clear have_listen_thread
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 14 Sep 2018 17:04:29 +0000 (18:04 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 26 Sep 2018 16:29:01 +0000 (17:29 +0100)
commit9cf4bb8730c669c40550e635a9e2b8ee4f1664ca
tree1d97ad702cc467ef3e572de3de3769311df3c868
parente51e711b1bef44861cf6a9d0f426d0a6bd119227
migration/postcopy: Clear have_listen_thread

Clear have_listen_thread when we exit the thread.
The fallout from this was that various things thought there was
an ongoing postcopy after the postcopy had finished.

The case that failed was postcopy->savevm->loadvm.

This corresponds to RH bug https://bugzilla.redhat.com/show_bug.cgi?id=1608765

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20180914170430.54271-2-dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/savevm.c