]> git.proxmox.com Git - qemu.git/commit
vdi: Avoid direct AIO callback
authorKevin Wolf <kwolf@redhat.com>
Tue, 7 Jun 2011 14:12:58 +0000 (16:12 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 15 Jun 2011 12:35:15 +0000 (14:35 +0200)
commite67a64a869312eccc1487409aaa03177da4d2f26
tree51c534bdb6ef78585b36d292a7803b825b49404d
parentb11a24dee661dd1e1de0dcbc149052ed67b0647a
vdi: Avoid direct AIO callback

bdrv_aio_* must not call the callback before returning to its caller. In vdi,
this could happen in some error cases. This starts the real requests processing
in a BH to avoid this situation.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vdi.c