Re: [Qemu-devel] [PATCH v2] ide: ahci: add check before calling dma_memory_unmap

2016-01-28 Thread Paolo Bonzini
On 28/01/2016 20:57, John Snow wrote: > This is fine for now as it protects us against doing something stupid in > a mechanical fashion, but I still wonder under which case we are > "starting" the FIS or CLB engines without getting a valid address. (The > unmap should only be happening when we /s

Re: [Qemu-devel] [PATCH v2] ide: ahci: add check before calling dma_memory_unmap

2016-01-28 Thread John Snow
On 01/28/2016 02:48 PM, P J P wrote: > From: Prasad J Pandit > > When IDE AHCI emulation uses Frame Information Structures(FIS) > engine for data transfer, the mapped FIS buffer address is stored > in a static 'bounce.buffer'. When a request is made to map another > memory region, address_space