qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] block/curl: Remedy a crashing bug completing AIOCBs from cache
@ 2011-09-21 10:55 nick
  2011-09-21 10:55 ` [Qemu-devel] [PATCH 1/2] block/curl: Implement a flush function on the fd handlers nick
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: nick @ 2011-09-21 10:55 UTC (permalink / raw)
  To: nick, qemu-devel; +Cc: qemu-trivial

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().

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-21 13:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-21 10:55 [Qemu-devel] block/curl: Remedy a crashing bug completing AIOCBs from cache nick
2011-09-21 10:55 ` [Qemu-devel] [PATCH 1/2] block/curl: Implement a flush function on the fd handlers nick
2011-09-21 10:55 ` [Qemu-devel] [PATCH 2/2] block/curl: Don't finish AIOCBs too early nick
2011-09-21 13:32 ` [Qemu-devel] block/curl: Remedy a crashing bug completing AIOCBs from cache Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).