Re: [Qemu-devel] [PATCH 20/67] ahci: clear aiocb in ncq_cb

2016-12-21 Thread Michael Roth
Quoting John Snow (2016-12-19 17:07:17) > Hi, some more considerations: > > > e7bd708ec85e40fd51569bb90c52d6613ffd8f45 > atapi: classify read_cd as conditionally returning data > > This fixes problems with certain operating systems being unable to read > from the CDROM. applied. > > > 99868a

Re: [Qemu-devel] [PATCH 20/67] ahci: clear aiocb in ncq_cb

2016-12-19 Thread John Snow
Hi, some more considerations: e7bd708ec85e40fd51569bb90c52d6613ffd8f45 atapi: classify read_cd as conditionally returning data This fixes problems with certain operating systems being unable to read from the CDROM. 99868af3d0a75cf6a515a9aa81bf0d7bcb39eadb dma-helpers: explicitly pass alignment

[Qemu-devel] [PATCH 20/67] ahci: clear aiocb in ncq_cb

2016-12-14 Thread Michael Roth
From: John Snow Similar to existing fixes for IDE (87ac25fd) and ATAPI (7f951b2d), the AIOCB must be cleared in the callback. Otherwise, we may accidentally try to reset a dangling pointer in bdrv_aio_cancel() from a port reset. Signed-off-by: John Snow Reviewed-by: Stefan Hajnoczi Message-id: