diff options
author | Nick Thomas <nick@bytemark.co.uk> | 2011-09-21 11:55:50 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-09-21 15:16:04 +0200 |
commit | 363c3c85350d79d224265aac11db1fbcb61215dc (patch) | |
tree | 1c98760e1100a6c0cbc1ba98d1c924177e29abe1 /tcg/hppa | |
parent | c84dcdc1d6583ebe5841907c99d95deb8c40a6e0 (diff) | |
download | qemu-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 'tcg/hppa')
0 files changed, 0 insertions, 0 deletions