diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2012-06-27 14:50:43 +1000 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-06-27 16:33:25 -0500 |
commit | e5332e6334f375600b0c15f5c3540c1b72af7067 (patch) | |
tree | 2dc4027f7d3c21acd8545bfbdd2e7eea2291c9f1 /hw/spapr_vio.c | |
parent | e2f89926f19d2940eda070542501f39f51a8c81f (diff) | |
download | qemu-e5332e6334f375600b0c15f5c3540c1b72af7067.zip qemu-e5332e6334f375600b0c15f5c3540c1b72af7067.tar.gz qemu-e5332e6334f375600b0c15f5c3540c1b72af7067.tar.bz2 |
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_vio.c')
0 files changed, 0 insertions, 0 deletions