5f51e4a762
Assert that PCI devices discovered while booting the hypervisor do not have more table entries than allowed by the compile-time configuration (CONFIG_MAX_MSIX_TABLE_NUM). The case were `msix.table_count` > `CONFIG_MAX_MSIX_TABLE_NUM` is fatal since the init function in the handler for MSI-X (vmsix_init) only looks at `table_count` when populating the table. Since `CONFIG_MAX_MSIX_TABLE_NUM` is the max size of the table array entry in the pci_msix struct. This will cause the msix handler to write outside of the table array. Tracked-On: #2624 Signed-off-by: Viktor Sjölind <vsjolind@luxoft.com> |
||
---|---|---|
.. | ||
pci.c |