acrn-hypervisor/hypervisor/dm/vpci
Li Fei1 fa74bf401d hv: vpci: pass through stolen memory and opregion memory for GVT-D
In order to add GVT-D support, we need pass through stolen memory and opregion memroy
to the post-launched VM. To implement this, we first reserve the GPA for stolen memory
and opregion memory through post-launched VM e820 table. Then we would build EPT mapping
between the GPA and the stolen memory and opregion memory real HPA. The last, we need to
return the GPA to post-launched VM if it wants to read the stolen memory and opregion
memory address and prevent post-launched VM to write the stolen memory and opregion memory
address register for now.
We do the GPA reserve and GPA to HPA EPT mapping in ACRN-DM and the stolen memory and
opregion memory CFG space register access emulation in ACRN-HV.

Tracked-On: #4371
Signed-off-by: Li Fei1 <fei1.li@intel.com>
2020-03-11 10:59:23 +08:00
..
pci_pt.c hv: refine naming 2020-03-11 08:35:30 +08:00
vdev.c hv: refine naming 2020-03-11 08:35:30 +08:00
vhostbridge.c hv: vpci: add _v prefix for some function name 2020-03-09 17:09:55 +08:00
vmsi.c hv: vpci: add _v prefix for some function name 2020-03-09 17:09:55 +08:00
vmsix.c hv: vpci: add _v prefix for some function name 2020-03-09 17:09:55 +08:00
vpci_bridge.c hv: vpci: add _v prefix for some function name 2020-03-09 17:09:55 +08:00
vpci_priv.h hv: initialize VF BARs 2020-03-11 08:35:30 +08:00
vpci.c hv: vpci: pass through stolen memory and opregion memory for GVT-D 2020-03-11 10:59:23 +08:00
vsriov.c hv: the VM can only deinit its own devices 2020-03-11 08:35:30 +08:00