mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-07 16:07:03 +00:00
When pass-thru GPU to pre-launched Linux guest, need to pass GPU OpRegion to the guest. Here's the detailed steps: 1. reserve a memory region in ve820 table for GPU OpRegion 2. build EPT mapping for GPU OpRegion to pass-thru OpRegion to guest 3. emulate the pci config register for OpRegion For the third step, here's detailed description: The address of OpRegion locates on PCI config space offset 0xFC, Normal Linux guest won't write this register, so we can regard this register as read-only. When guest reads this register, return the emulated value. When guest writes this register, ignore the operation. Tracked-On: #6387 Signed-off-by: Liu,Junming <junming.liu@intel.com> |
||
---|---|---|
.. | ||
ivshmem.c | ||
pci_pt.c | ||
vdev.c | ||
vhostbridge.c | ||
vmcs9900.c | ||
vmsi.c | ||
vmsix_on_msi.c | ||
vmsix.c | ||
vpci_bridge.c | ||
vpci_priv.h | ||
vpci.c | ||
vroot_port.c | ||
vsriov.c |