acrn-hypervisor/hypervisor/dm/vpci
Zide Chen dcebdb8e98 hv: implement msi.c to handle MSI remapping for vm0
Emulate MSI Capability structure for vm0 in sharing mode:

- it intercepts the IO requests for MSI Capability structure, emulates
  the Message Control word, and bypasses all other I/O requests to the
  physical device.

- criteria to trigger MSI remapping: MSI Enable bit is being changed,
  Message Data/Addr is being changed when MSI Enable is set.

Tracked-On: #1568
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Signed-off-by: Zide Chen <zide.chen@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2018-10-29 14:29:37 +08:00
..
core.c hv: create new file core.c and pci.c 2018-10-24 18:11:02 +08:00
hostbridge.c hv: merge hv_lib.h and hypervisor.h 2018-09-27 15:55:41 +08:00
msi.c hv: implement msi.c to handle MSI remapping for vm0 2018-10-29 14:29:37 +08:00
partition_mode.c hv: vpci: add callback functions to struct vpci 2018-10-29 14:29:37 +08:00
pci_priv.h hv: implement msi.c to handle MSI remapping for vm0 2018-10-29 14:29:37 +08:00
pci_pt.c hv: change function parameters: pci_pdev_read_cfg and pci_pdev_write_cfg 2018-10-29 14:29:37 +08:00
vpci.c hv: vpci: add callback functions to struct vpci 2018-10-29 14:29:37 +08:00