Re: [Qemu-block] [Qemu-devel] [PATCH V3 4/6] ide: orphan all buffered requests on DMA cancel

2015-11-12 Thread Peter Lieven
Am 12.11.2015 um 09:27 schrieb Fam Zheng: On Fri, 11/06 09:42, Peter Lieven wrote: If the guests canceles a DMA request we can prematurely invoke all callbacks of buffered requests and flag all them as orphaned. Ideally this avoids the need for draining all requests. For CDROM devices this

Re: [Qemu-block] [Qemu-devel] [PATCH V3 4/6] ide: orphan all buffered requests on DMA cancel

2015-11-12 Thread Fam Zheng
On Fri, 11/06 09:42, Peter Lieven wrote: > If the guests canceles a DMA request we can prematurely > invoke all callbacks of buffered requests and flag all them > as orphaned. Ideally this avoids the need for draining all > requests. For CDROM devices this works in 100% of all cases. > >