All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] block/curl: Remedy a crashing bug completing AIOCBs from cache
@ 2011-09-21 10:55 ` nick
  0 siblings, 0 replies; 8+ 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] 8+ messages in thread

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

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.