]> git.proxmox.com Git - mirror_qemu.git/commit - hw/block/virtio-blk.c
virtio-blk: Schedule BH in the right context
authorFam Zheng <famz@redhat.com>
Tue, 17 Jun 2014 06:32:08 +0000 (14:32 +0800)
committerKevin Wolf <kwolf@redhat.com>
Fri, 27 Jun 2014 16:20:37 +0000 (18:20 +0200)
commit4407c1c56adb0d3ef2bcbf577592d72278d6e11f
tree606fb2099ef1e530b5d540edbac242bb8eb14712
parentfee65db77181e6697745b313906bc4fdb30d2ff9
virtio-blk: Schedule BH in the right context

The BH must be called in the AioContext of bs. Currently it is only the
main loop, but with coming changes, it could also be a dataplane
IOThread.

Signed-off-by: Fam Zheng <famz@redhat.com>
Tested-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/virtio-blk.c