mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-24 09:29:16 +00:00
'info.pmsi_addr' may be written to physicall device's PCI configuration field without initialization when 'enable' is false in 'vmsi_remap()'. this patch is to fix above issues, 'PCIR_MSI_ADDR' and 'PCIR_MSI_ADDR_HIGH' only be programmed when 'enable' is true. Tracked-On: #3903 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>