mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 02:08:04 +00:00
HV: unify the sharing_mode_vpci_deinit and partition_mode_vpci_deinit code
Put the deinit code in deinit_prelaunched_vm_vpci() for both sos and pre-launched VMs, and remove sharing_mode_vpci_deinit() and partition_mode_vpci_deinit(). Rename functions used by deinit(): vhostbridge_deinit --> deinit_vhostbridge vmsi_deinit --> deinit_vmsi vmsix_deinit --> deinit_vmsix post_launched_vm_vpci_deinit --> deinit_post_launched_vm 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
3a6c63f2d8
commit
19af3bc8aa
@@ -92,7 +92,7 @@ void init_vhostbridge(struct pci_vdev *vdev)
|
||||
}
|
||||
}
|
||||
|
||||
void vhostbridge_deinit(__unused const struct pci_vdev *vdev)
|
||||
void deinit_vhostbridge(__unused const struct pci_vdev *vdev)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user