« Previous | Next » 

Revision e5332e63


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 <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences