mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 17:21:22 +00:00
Sharing mode has its own static global variables to store number of vdevs and vdev list, we already have the per vpci pci_vdev[] in struct acrn_vpci, so use the vpci_vdev in acrn_vpci instead to unify the vdev list management for both sharing mode and partition mode. Tracked-On: #2534 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>