[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] block/curl: Remedy a crashing bug completing AIOCBs fro
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] block/curl: Remedy a crashing bug completing AIOCBs from cache |
Date: |
Wed, 21 Sep 2011 15:32:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 |
Am 21.09.2011 12:55, schrieb address@hidden:
> 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().
Thanks, applied to the block branch.
Kevin