« Previous | Next » 

Revision e5332e63

IDe5332e6334f375600b0c15f5c3540c1b72af7067

Added by David Gibson almost 8 years ago

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 <>
Cc: Richard Henderson <>

Signed-off-by: Eduard - Gabriel Munteanu <>
Signed-off-by: David Gibson <>
Signed-off-by: Benjamin Herrenschmidt <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences