aboutsummaryrefslogtreecommitdiff
path: root/migration/vmstate.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2017-08-25 15:19:39 +0100
committerDr. David Alan Gilbert <dgilbert@redhat.com>2017-09-06 15:18:21 +0100
commit5089e1862fe80b6f23ba4c494e2902cbe3d9d48e (patch)
treea50cfa067213da81047e6668758608909cb193a1 /migration/vmstate.c
parent505d786f8f627ec5eccfee79a6a8f3a0e0bc3fa2 (diff)
migration: Reset rather than destroy main_thread_load_event
migration_incoming_state_destroy doesn't really destroy, it cleans up. After a loadvm it's called, but the loadvm command can be run twice, and so destroying an init-once mutex breaks on the second loadvm. Reported-by: Stafford Horne <shorne@gmail.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-Id: <20170825141940.20740-2-dgilbert@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Tested-by: Stafford Horne <shorne@gmail.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/vmstate.c')
0 files changed, 0 insertions, 0 deletions