mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-04-05 11:53:53 +00:00
AcrnGT traps and intercepts the memory region defined by PCI bar in service OS kernel driver. No need to register the bar associated region in dm. By the way, some OS changes BAR start address and there is no mechanism to reflect the gvt changes back to dm. It causes problem that other devices may register new region which falls in GVT `old` region, and leads to hypervisor crash. v4: Add FIXME tag. It's a short term solution before migrated to OVMF v3: rewording the comments v2: removed unnecessary braces and use printf to log (Peter) Tracked-On: #2976 Reviewed-by: He, Min <min.he@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> Signed-off-by: Liu Xinyun <xinyun.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>