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-05-30 17:04:41 +00:00
2012-04-19 16:51:47 +02:00
2012-05-14 07:27:24 +02:00
2012-04-15 21:25:16 +02:00
2012-03-30 08:14:11 -05:00
2012-05-12 09:14:38 +00:00
2012-06-24 01:04:51 +02:00
2012-06-24 01:04:51 +02:00
2012-04-01 20:30:23 +02:00
2012-05-14 07:27:24 +02:00
2012-06-21 18:45:16 +00:00
2012-06-04 13:49:35 -03:00
2012-06-15 10:41:05 -03:00
2012-06-04 13:49:35 -03:00
2012-05-08 14:30:09 -03:00
2012-06-15 10:41:05 -03:00
2012-05-10 08:33:34 -05:00
2012-06-27 11:57:17 +02:00
2012-06-04 13:49:35 -03:00
2012-06-04 13:49:35 -03:00
2012-04-26 13:14:58 -05:00
2012-04-07 14:00:45 +00:00
2012-05-10 10:32:13 +02:00
2012-06-24 12:16:51 +00:00
2012-04-19 17:19:37 +02:00
2012-04-15 21:25:16 +02:00
2012-04-07 14:00:45 +00:00
2012-05-01 00:17:27 +02:00
2012-06-21 18:45:18 +00:00
2012-05-08 14:30:09 -03:00
2012-04-24 09:50:31 -05: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%