mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-17 15:44:06 +00:00
Currently, the emulation of pci msi/msix can be handled by hypervisor code. The logic in dm passthru driver can be simplified. This patch remaps msix table to usersapce in DM passthru driver. 1. The access to the msix table in passthru driver will be trapped, and emulated by hv code. 2. The access to the config space in passthru driver will be trapped, and emulated by hv code. So dm passthru driver no longer needs to keep the whole logic of handling msi/msix. No need to do msix table remapping in sos kernel. After the patch, the msix table ioremap code in vhm_dev.c can be removed. Tracked-On: #1782 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
ACRN Device Model ################# Introduction ============ The ACRN Device Model provides **device sharing** capabilities between the Service OS and Guest OSs. It is a component that is used in conjunction with the `ACRN Hypervisor`_ and this is installed within the Service OS. You can find out more about Project ACRN on the `Project ACRN documentation`_ website. .. _`ACRN Hypervisor`: https://github.com/projectacrn/acrn-hypervisor .. _`Project ACRN documentation`: https://projectacrn.github.io/