diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-14 18:17:04 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-02-25 13:14:18 +0200 |
commit | ef0716df7f2f513afcacf3fcf6b104864f5b64fd (patch) | |
tree | 2ffaadbfcafdc2573b59689cb5788ba8ec70770a /configure | |
parent | 9ae91bc43f94d9b004b17f7213ef1b8d5ebe8e1a (diff) |
block-migration: acquire AioContext as necessary
This is needed because dataplane will run during block migration as well.
The block device migration code is quite liberal in taking the iothread
mutex. For simplicity, keep it the same way, even though one could
actually choose between the BQL (for regular BlockDriverStates) and
the AioContext (for dataplane BlockDriverStates). When the block layer
is made fully thread safe, aio_context_acquire shall go away altogether.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions