On Wed, May 04, 2011 at 03:57:28PM +0200, Kevin Wolf wrote: > I can't see how you could leave ide_dma_cb without either scheduling > another AIO request or setting aiocb = NULL in ide_set_inactive. I guess > I need to reproduce this and do some debugging...
That would be nice to be sure. This has been triggering on a older codebase, it's uncertain if this would happen with current code too. The \n so far was the only obvious improvement I could make to the upstream code, until we understand better what's going on... The good thing is it doesn't seem to cause problems, other than the printf. The leftover in the dma->aiocb likely gets overwritten when guest retries without failure.