qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] block/curl: Remedy a crashing bug completing AIOCBs from ca


From: nick
Subject: [Qemu-devel] block/curl: Remedy a crashing bug completing AIOCBs from cache
Date: Wed, 21 Sep 2011 11:55:48 +0100

In QEMU master, attempting to read a cached block from a HTTP (or otherwise)
mounted ISO causes an assert to be triggered, killing the entire QEMU process.
It looks like this:

hw/ide/pci.c:314: bmdma_cmd_writeb: Assertion `bm->bus->dma->aiocb == 
((void *)0)' failed.

The following two patches add flush capability to the curl backend, and avoid
triggering the assert by finishing the AIOCB in a QEMUBH callback, rather than
directly in curl_aio_readv().




reply via email to

[Prev in Thread] Current Thread [Next in Thread]