Skip to content

Commit

Permalink
Merge pull request #5 from jiangliu/interrupt_manager
Browse files Browse the repository at this point in the history
Add Interrupt manager to vm-device crate
  • Loading branch information
Samuel Ortiz authored Jul 1, 2020
2 parents 3daea68 + 0e290b5 commit 50ac0d3
Show file tree
Hide file tree
Showing 12 changed files with 3,032 additions and 106 deletions.
21 changes: 21 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,26 @@ version = "0.1.0"
authors = ["Samuel Ortiz <[email protected]>"]
repository = "https://github.com/rust-vmm/vm-device"
license = "Apache-2.0"
edition = "2018"

[dependencies]
libc = ">=0.2.39"
kvm-bindings = { version = "~0", optional = true }
kvm-ioctls = { version = "~0", optional = true }
vfio-ioctls = { git = "https://github.com/cloud-hypervisor/vfio-ioctls.git", branch = "dragonball", optional = true }
vmm-sys-util = "~0"

[dev-dependencies]
byteorder = ">=1.2.1"

[features]
default = ["legacy-irq", "msi-irq"]
legacy-irq = []
msi-irq = []
vfio-msi-irq = []

kvm-irq = ["kvm-ioctls", "kvm-bindings"]
kvm-msi-generic = ["msi-irq", "kvm-irq"]
kvm-legacy-irq = ["legacy-irq", "kvm-irq"]
kvm-msi-irq = ["kvm-msi-generic"]
kvm-vfio-msi-irq = ["kvm-msi-generic", "vfio-ioctls", "vfio-msi-irq"]
2 changes: 1 addition & 1 deletion coverage_config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"coverage_score": 79.9,
"coverage_score": 86.1,
"exclude_path": "",
"crate_features": ""
}
Loading

0 comments on commit 50ac0d3

Please sign in to comment.