summaryrefslogtreecommitdiffstats
path: root/hw/sd/sdmmc-internal.c
diff options
context:
space:
mode:
authorStefan Hajnoczi2018-03-07 15:42:02 +0100
committerStefan Hajnoczi2018-03-08 18:38:51 +0100
commitb89d92f3cfc0f6e6d05e146e7a5fb8c759978051 (patch)
tree36927b2b1c7f082a20f890ee7e4d5b0b84ce6f90 /hw/sd/sdmmc-internal.c
parentvirtio-blk: dataplane: Don't batch notifications if EVENT_IDX is present (diff)
downloadqemu-b89d92f3cfc0f6e6d05e146e7a5fb8c759978051.tar.gz
qemu-b89d92f3cfc0f6e6d05e146e7a5fb8c759978051.tar.xz
qemu-b89d92f3cfc0f6e6d05e146e7a5fb8c759978051.zip
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>
Diffstat (limited to 'hw/sd/sdmmc-internal.c')
0 files changed, 0 insertions, 0 deletions