Nick Thomas 363c3c8535 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>
2011-09-21 15:16:04 +02:00
..
2010-11-04 12:52:16 +01:00
2011-09-19 11:34:33 +02:00
2011-09-12 15:17:22 +02:00
2011-09-12 15:17:17 +02:00
2011-08-23 17:41:14 +02:00
2011-08-02 15:53:41 +02:00
2011-08-22 10:19:00 -05:00
2011-09-20 14:34:17 +02:00
2011-08-24 14:53:51 +02:00
2011-09-20 12:27:43 +02:00