diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2017-06-15 17:38:10 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-06-26 14:51:13 +0200 |
commit | 1575829d2aaced8ce6a5728d8e9fbbdee8f80885 (patch) | |
tree | 5fcc0c236c414ca5cd6cfe54863d842755ab4929 /tests/qapi-schema/alternate-conflict-dict.err | |
parent | 0d2fac8ede5623b5bb825bd002633cd65db5159e (diff) |
migration: hold AioContext lock for loadvm qemu_fclose()
migration_incoming_state_destroy() uses qemu_fclose() on the vmstate
file. Make sure to call it inside an AioContext acquire/release region.
This fixes an 'qemu: qemu_mutex_unlock: Operation not permitted' abort
in loadvm.
This patch closes the vmstate file before ending the drained region.
Previously we closed the vmstate file after ending the drained region.
The order does not matter.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qapi-schema/alternate-conflict-dict.err')
0 files changed, 0 insertions, 0 deletions