Re: [Qemu-devel] [PATCH 11/21] memory: iommu support

2013-05-31 Thread Richard Henderson
On 05/30/2013 02:16 PM, Paolo Bonzini wrote: struct MemoryRegion { /* All fields are private - violators will be prosecuted */ const MemoryRegionOps *ops; +const MemoryRegionIOMMUOps *iommu_ops; void *opaque; MemoryRegion *parent; ... +void

[Qemu-devel] [PATCH 11/21] memory: iommu support

2013-05-30 Thread Paolo Bonzini
From: Avi Kivity avi.kiv...@gmail.com Add a new memory region type that translates addresses it is given, then forwards them to a target address space. This is similar to an alias, except that the mapping is more flexible than a linear translation and trucation, and also less efficient since the