diff options
author | David Gibson | 2012-06-27 06:50:43 +0200 |
---|---|---|
committer | Anthony Liguori | 2012-06-27 23:33:25 +0200 |
commit | e5332e6334f375600b0c15f5c3540c1b72af7067 (patch) | |
tree | 2dc4027f7d3c21acd8545bfbdd2e7eea2291c9f1 /hw/spapr.c | |
parent | usb: Convert usb_packet_{map, unmap} to universal DMA helpers (diff) | |
download | qemu-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