Hi, On 06/15/2018 05:54 PM, Peter Maydell wrote: > Why should the VM ever care about where the address regions in the > host happen to be when it comes to where it's putting its RAM > in the VM's address layout? I feel like I'm missing something here... > > thanks
The VM cannot use RAM GPA that matches assigned device reserved IOVA regions. When you assign a device, the whole VM RAM is mapped in the physical IOMMU and IOVA corresponds to GPA. but sometimes some IOVA cannot be used due to the host specificities and especially iommu peculiarities. Some IOVAs may be simply "bypassed" by the iommu, like on x86 and also with some ARM SMMU integration. In such a case the DMA accesses have no chance to reach the guest RAM as expected. Hope it clarifies. Thanks Eric