summaryrefslogtreecommitdiffstats
path: root/hw/spapr.c
diff options
context:
space:
mode:
authorDavid Gibson2012-06-27 06:50:43 +0200
committerAnthony Liguori2012-06-27 23:33:25 +0200
commite5332e6334f375600b0c15f5c3540c1b72af7067 (patch)
tree2dc4027f7d3c21acd8545bfbdd2e7eea2291c9f1 /hw/spapr.c
parentusb: Convert usb_packet_{map, unmap} to universal DMA helpers (diff)
downloadqemu-e5332e6334f375600b0c15f5c3540c1b72af7067.tar.gz
qemu-e5332e6334f375600b0c15f5c3540c1b72af7067.tar.xz
qemu-e5332e6334f375600b0c15f5c3540c1b72af7067.zip
iommu: Introduce IOMMU emulation infrastructure
This patch adds the basic infrastructure necessary to emulate an IOMMU visible to the guest. The DMAContext structure is extended with information and a callback describing the translation, and the various DMA functions used by devices will now perform IOMMU translation using this callback. Cc: Michael S. Tsirkin <mst@redhat.com> Cc: Richard Henderson <rth@twiddle.net> Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> 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>
Diffstat (limited to 'hw/spapr.c')
0 files changed, 0 insertions, 0 deletions