David Gibson 10ca2943aa ide/ahci: Use universal DMA helper functions
The AHCI device can provide both PCI and SysBus AHCI device
emulations.  For this reason, it wasn't previously converted to use
the pci_dma_*() helper functions.  Now that we have universal DMA
helper functions, this converts AHCI to use them.

The DMAContext is obtained from pci_dma_context() in the PCI case and
set to NULL in the SysBus case (i.e. we assume for now that a SysBus
AHCI has no IOMMU translation).

Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-06-27 16:33:25 -05:00
2012-06-15 20:58:54 +04:00
2012-06-24 01:04:45 +02:00
2012-06-21 20:04:24 +00:00
2012-06-18 15:32:45 +02:00
2012-06-15 10:41:05 -03:00
2012-06-21 17:59:27 -05:00
2012-06-24 01:04:51 +02:00
2012-06-24 01:04:51 +02:00
2012-06-21 18:45:16 +00:00
2012-06-15 10:41:05 -03:00
2012-06-15 10:41:05 -03:00
2012-06-27 11:57:17 +02:00
2012-06-24 12:16:51 +00:00
2012-06-21 18:45:18 +00:00
2012-06-22 10:34:21 +01:00
2012-06-20 14:46:02 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%