Home
last modified time | relevance | path

Searched hist:"1575829 d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/migration/
H A Dsavevm.c1575829d Thu Jun 15 11:38:10 CDT 2017 Stefan Hajnoczi <stefanha@redhat.com> 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>