mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-02 09:25:17 +00:00
HV: remove function pci_pdev_foreach()
And make other related changes accordingly: Remove pci_pdev_enumeration_cb define Create init_vdevs() to iterate through the pdev list and create vdev for each pdev Export num_pci_pdev and pci_pdev_array as globals in header file Minor cosmetic fix: Remove trailing whitespace Tracked-On: #3022 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
536c69b9ff
commit
a6503c6af3
@@ -10,7 +10,7 @@
|
||||
|
||||
/*
|
||||
* @pre vm_id < CONFIG_MAX_VM_NUM
|
||||
* @post return != NULL
|
||||
* @post return != NULL
|
||||
*/
|
||||
struct acrn_vm_config *get_vm_config(uint16_t vm_id)
|
||||
{
|
||||
|
Reference in New Issue
Block a user