acrn-hypervisor/hypervisor/dm
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
..
hw hv: implement msi.c to handle MSI remapping for vm0 2018-10-29 14:29:37 +08:00
vpci hv: implement msi.c to handle MSI remapping for vm0 2018-10-29 14:29:37 +08:00
vioapic.c hv: rework the MMIO handler callback hv_mem_io_handler_t arguments 2018-10-29 14:29:37 +08:00
vpic.c HV:fix "Pointer param should be declared pointer to const" 2018-10-25 13:45:14 +08:00
vrtc.c hv: merge hv_lib.h and hypervisor.h 2018-09-27 15:55:41 +08:00