mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-05-04 17:58:48 +00:00
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>
ACRN Hypervisor ############### The open source `Project ACRN`_ defines a device hypervisor reference stack and an architecture for running multiple software subsystems, managed securely, on a consolidated system by means of a virtual machine manager. It also defines a reference framework implementation for virtual device emulation, called the “ACRN Device Model”. The ACRN Hypervisor is a Type 1 reference hypervisor stack, running directly on the bare-metal hardware, and is suitable for a variety of IoT and embedded device solutions. The ACRN hypervisor addresses the gap that currently exists between datacenter hypervisors, and hard partitioning hypervisors. The ACRN hypervisor architecture partitions the system into different functional domains, with carefully selected guest OS sharing optimizations for IoT and embedded devices. You can find out more about Project ACRN on the `Project ACRN documentation`_ website. .. _`Project ACRN`: https://projectacrn.org .. _`ACRN Hypervisor`: https://github.com/projectacrn/acrn-hypervisor .. _`Project ACRN documentation`: https://projectacrn.github.io/