mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
hv: vtd: use EPT as translation table for PTDev in SOS
In current code, the address translation type for passthrough devices in SOS is passthrough type, which means the device in SOS can access the whole physcial memory. This patch uses SOS EPT to translate address for passthrough devices. So that the memory of VMM or trusty can be protected from SOS PTDev. Signed-off-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -496,4 +496,6 @@ void resume_iommu(void);
|
||||
|
||||
/* iommu initialization */
|
||||
void init_iommu(void);
|
||||
void init_iommu_vm0_domain(struct vm *vm0);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user