]> git.proxmox.com Git - qemu.git/commit
Fix vectored aio bounce handling immediate errors (Avi Kivity)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Mar 2009 16:11:20 +0000 (16:11 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 14 May 2009 13:09:24 +0000 (08:09 -0500)
commit662524f5dce2584c1895d21c172524c5fffbeb28
treeb84b76345ae241601256d87cbc68bc1c7070a0f5
parent5f6521c78e923e26dbab6951c23d618d5251d7b3
Fix vectored aio bounce handling immediate errors (Avi Kivity)

If a bounced vectored aio fails immediately (the inner aio submission
returning NULL) then the bounce handler erronously returns an aio
request which will never be completed (and which crashes when cancelled).

Fix by detecting that the inner request has failed and propagating the
error.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6892 c046a42c-6fe2-441c-8c8c-71466251a162
block.c