mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Add MSI-X support to virtio-pci devices
In order to allow virtio-pci devices to use MSI-X messages instead of legacy pin based interrupts, this patch implements the MSI-X support for cloud-hypervisor. The VMM code and virtio-pci bits have been modified based on the "msix" module previously added to the pci crate. Fixes #12 Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
committed by
Rob Bradford
parent
13a065d2cd
commit
8df05b72dc
+3
-1
@@ -12,6 +12,7 @@ extern crate vmm_sys_util;
|
||||
|
||||
mod configuration;
|
||||
mod device;
|
||||
mod msix;
|
||||
mod root;
|
||||
|
||||
pub use self::configuration::{
|
||||
@@ -20,7 +21,8 @@ pub use self::configuration::{
|
||||
PciSubclass,
|
||||
};
|
||||
pub use self::device::Error as PciDeviceError;
|
||||
pub use self::device::{IrqClosure, PciDevice};
|
||||
pub use self::device::{IrqClosure, MsixClosure, PciDevice};
|
||||
pub use self::msix::{MsixCap, MsixConfig, MsixTableEntry};
|
||||
pub use self::root::{PciConfigIo, PciConfigMmio, PciRoot, PciRootError};
|
||||
|
||||
/// PCI has four interrupt pins A->D.
|
||||
|
||||
Reference in New Issue
Block a user