mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-20 16:28:10 +00:00
HV: unify the sharing_mode_vpci_init and partition_mode_vpci_init code
Put the init code in init_vdev_for_pdev for both sos and pre-launched VMs, and remove sharing_mode_vpci_init() and partition_mode_vpci_init(). Rename functions used by init_vdev_for_pdev: vhostbridge_init --> init_vhostbridge vmsi_init --> init_vmsi vmsix_init --> init_vmsix Tracked-On: #3056 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
f873b843de
commit
3a6c63f2d8
@@ -330,7 +330,7 @@ int32_t vmsix_table_mmio_access_handler(struct io_request *io_req, void *handler
|
||||
/**
|
||||
* @pre vdev != NULL
|
||||
*/
|
||||
void vmsix_init(struct pci_vdev *vdev)
|
||||
void init_vmsix(struct pci_vdev *vdev)
|
||||
{
|
||||
struct pci_pdev *pdev = vdev->pdev;
|
||||
|
||||
|
Reference in New Issue
Block a user