summaryrefslogtreecommitdiffstats
path: root/hw/apic.c
diff options
context:
space:
mode:
authorChristoph Hellwig2009-08-13 16:49:56 +0200
committerAnthony Liguori2009-08-28 03:30:23 +0200
commit87b245db05aac9bcdb70a4f0af0fc5f353c5a9f8 (patch)
tree276c407258d25658da8d2ee2290a1b716825d3a7 /hw/apic.c
parentraw-posix: add Linux native AIO support (diff)
downloadqemu-87b245db05aac9bcdb70a4f0af0fc5f353c5a9f8.tar.gz
qemu-87b245db05aac9bcdb70a4f0af0fc5f353c5a9f8.tar.xz
qemu-87b245db05aac9bcdb70a4f0af0fc5f353c5a9f8.zip
virtio-blk: handle NULL returns from bdrv_aio_{read, write}
The bdrv_aio_{read,write} routines can return a NULL pointer when the I/O submission fails. Currently we ignore this and will wait forever for an I/O completion and leading to a hang of the guest. I can easily reproduce this using the native Linux AIO patch, but it's also possible using normal pthreads-based AIO. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/apic.c')
0 files changed, 0 insertions, 0 deletions