forked from openanolis/dragonball-sandbox
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
29 lines (25 loc) · 938 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[package]
name = "dbs-interrupt"
version = "0.1.0"
authors = ["Alibaba Dragonball Team"]
description = "Traits and structs to manage interrupts for virtual devices"
license = "Apache-2.0"
edition = "2018"
homepage = "https://github.com/openanolis/dragonball-sandbox"
repository = "https://github.com/openanolis/dragonball-sandbox/tree/main/crates/dbs-interrupt"
keywords = ["dragonball", "secure-sandbox", "device", "interrupt", "MSI", "MSI-x", "legacy-irq"]
readme = "README.md"
[dependencies]
dbs-device = { path = "../dbs-device", version = "0.1.0" }
kvm-bindings = { version = "0.5.0", optional = true }
kvm-ioctls = { version = "0.11.0", optional = true }
libc = "0.2"
vmm-sys-util = ">=0.8.0"
[features]
default = ["legacy-irq", "msi-irq"]
legacy-irq = []
msi-irq = []
kvm-irq = ["kvm-ioctls", "kvm-bindings"]
kvm-legacy-irq = ["legacy-irq", "kvm-irq"]
kvm-msi-generic = ["msi-irq", "kvm-irq"]
kvm-msi-irq = ["kvm-msi-generic"]