megasas: use PCI DMA APIs
commit16578c6ffe8c4ee5207ccb9b0c994c1b18bb322d
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 23 Mar 2015 16:15:17 +0000 (23 17:15 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 Mar 2015 12:38:07 +0000 (25 13:38 +0100)
tree27979bb84699a101d24022ab60e561b671ef4c1f
parentbdd459a00a206772185970efbc38c455dc43167e
megasas: use PCI DMA APIs

It is wrong to use address_space_memory directly, because there could be an
IOMMU in the middle.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/megasas.c