Files
acrn-hypervisor/hypervisor/arch/x86/guest
Binbin Wu c449002846 hv: vtd: defer dma remapping enabling until vm creation
In current code, DMA remapping is enabled at very early stage, when there is no
device added.
Devices are added to VT-d context table when creating VMs.
There is potential risk that there may be device DMA transactions when DMA remapping is
enabled, but the device is not added to the VT-d context table. (Eg. this could happen in UEFI
enviroment when USB keyboard use in efi intenal shell.)

This patch defers DMA remapping enabling until vm creation.

Tracked-On: #1855
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2018-11-20 13:30:13 +08:00
..
2018-11-08 13:04:11 +08:00
2018-11-05 15:35:49 +08:00
2018-11-05 15:35:49 +08:00
2018-11-14 12:46:34 +08:00
2018-11-14 12:46:34 +08:00