Stefan Hajnoczi b89d92f3cf block: add aio_wait_bh_oneshot()
Sometimes it's necessary for the main loop thread to run a BH in an
IOThread and wait for its completion.  This primitive is useful during
startup/shutdown to synchronize and avoid race conditions.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20180307144205.20619-2-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2018-03-08 17:38:51 +00:00
..
2018-02-10 10:43:18 +03:00
2018-03-08 17:38:51 +00:00
2018-02-07 14:09:25 +01:00
2018-01-23 12:33:07 +01:00
2018-03-02 13:45:50 -06:00
2018-02-15 09:39:49 +00:00
2018-02-08 09:22:03 +08:00
2017-12-20 22:01:24 +08:00