|
| From: | Paul Brook |
| Subject: | [Qemu-devel] Re: [RFC PATCH 4/7] ide: IOMMU support |
| Date: | Wed, 14 Jul 2010 14:53:03 +0100 |
| User-agent: | KMail/1.13.3 (Linux/2.6.33-2-amd64; KDE/4.4.4; x86_64; ; ) |
> Memory accesses must go through the IOMMU layer.
No. Devices should not know or care whether an IOMMU is present.
You should be adding a DeviceState argument to cpu_physical_memory_{rw,map}.
This should then handle IOMMU translation transparently.
You also need to accomodate the the case where multiple IOMMU are present.
Paul
| [Prev in Thread] | Current Thread | [Next in Thread] |