summaryrefslogtreecommitdiff
path: root/default-configs
diff options
context:
space:
mode:
authorNick Thomas <nick@bytemark.co.uk>2011-09-21 11:55:50 +0100
committerKevin Wolf <kwolf@redhat.com>2011-09-21 15:16:04 +0200
commit363c3c85350d79d224265aac11db1fbcb61215dc (patch)
tree1c98760e1100a6c0cbc1ba98d1c924177e29abe1 /default-configs
parentc84dcdc1d6583ebe5841907c99d95deb8c40a6e0 (diff)
downloadqemu-363c3c85350d79d224265aac11db1fbcb61215dc.tar.gz
qemu-363c3c85350d79d224265aac11db1fbcb61215dc.tar.bz2
qemu-363c3c85350d79d224265aac11db1fbcb61215dc.zip
block/curl: Don't finish AIOCBs too early
The previous behaviour was to finish AIOCBs inside curl_aio_readv() if the data was cached. This caused the following failed assertion at hw/ide/pci.c:314: bmdma_cmd_writeb "Assertion `bm->bus->dma->aiocb == ((void *)0)' failed." By scheduling a QEMUBH and performing the completion inside the callback, we avoid this problem. Signed-off-by: Nick Thomas <nick@bytemark.co.uk> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'default-configs')
0 files changed, 0 insertions, 0 deletions