mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-05 10:50:43 +00:00
hv: implement sharing_mode.c for PCI emulation in sharing mode
Compared with partition_mode.c, the major difference between them is the list of PCI devices is statically defined or dynamically enumerated and allocated. Tracked-On: #1568 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -201,6 +201,11 @@ config IOMMU_INIT_BUS_LIMIT
|
||||
default 0xf if PLATFORM_SBL
|
||||
default 0xff if PLATFORM_UEFI
|
||||
|
||||
config MAX_PCI_DEV_NUM
|
||||
int "Maximum number of PCI dev"
|
||||
range 1 1024
|
||||
default 96
|
||||
|
||||
config MAX_MSIX_TABLE_NUM
|
||||
int "Maximum number of MSI-X Table per device"
|
||||
range 1 2048
|
||||
|
Reference in New Issue
Block a user