Files
acrn-hypervisor/hypervisor/arch/x86
Li Fei1 dafa3da693 vPCI: split passthrough PCI device from DM to HV
In this case, we could handle all the passthrough PCI devices in ACRN hypervisor.
But we still need DM to initialize BAR resources and Intx for passthrough PCI
device for post-launched VM since these informations should been filled into
ACPI tables. So
1. we add a HC vm_assign_pcidev to pass the extra informations to replace the old
vm_assign_ptdev.
2. we saso remove HC vm_set_ptdev_msix_info since it could been setted by the post-launched
VM now same as SOS.
3. remove vm_map_ptdev_mmio call for PTDev in DM since ACRN hypervisor will handle these
BAR access.
4. the most important thing is to trap PCI configure space access for PTDev in HV for
post-launched VM and bypass the virtual PCI device configure space access to DM.

This patch doesn't do the clean work. Will do it in the next patch.

Tracked-On: #4371
Signed-off-by: Li Fei1 <fei1.li@intel.com>
2020-02-24 16:17:38 +08:00
..
2019-10-31 09:02:59 +08:00
2020-01-14 10:21:23 +08:00
2019-12-13 10:13:09 +08:00
2020-02-11 08:53:56 +08:00
2020-01-14 10:21:23 +08:00
2020-01-14 10:21:23 +08:00
2020-01-14 10:21:23 +08:00
2020-02-11 08:53:56 +08:00