mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-11 15:17:42 +00:00
69e27288a2
The default number of MSI-X vector allocated was 2, which is the minimum defined by the virtio specification. The reason for this minimum is that virtio needs at least one interrupt to signal that configuration changed and at least one to specify something happened regarding the virtqueues. But this current implementation is not optimal because our VMM supports as many MSI-X vectors as allowed by the MSI-X specification (2048 max). For that reason, the current patch relies on the number of virtqueues needed by the virtio device to determine the right amount of MSI-X vectors needed. It's important not to forget the dedicated vector for any configuration change too. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
config.rs | ||
device_manager.rs | ||
lib.rs | ||
vm.rs |