mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-05 10:50:43 +00:00
hv: enable MSI remapping on vm0
When enabled, hypervisor will handle MSI/MSI-X remapping for SOS. Tracked-On: #1568 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com> Reviewed-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -152,9 +152,10 @@ int create_vm(struct vm_description *vm_desc, struct vm **rtn_vm)
|
||||
vuart_init(vm);
|
||||
}
|
||||
vrtc_init(vm);
|
||||
vpci_init(vm);
|
||||
#endif
|
||||
|
||||
vpci_init(vm);
|
||||
|
||||
/* vpic wire_mode default is INTR */
|
||||
vm->wire_mode = VPIC_WIRE_INTR;
|
||||
|
||||
@@ -231,10 +232,7 @@ int shutdown_vm(struct vm *vm)
|
||||
free_vm_id(vm);
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_PARTITION_MODE
|
||||
vpci_cleanup(vm);
|
||||
#endif
|
||||
|
||||
/* Return status to caller */
|
||||
return status;
|
||||
|
Reference in New Issue
Block a user