Skip to content

Commit abf0c32

Browse files
committed
ioctls: prepare for publishing v0.1.0
Prepare for publishing vfio-ioctls v0.1.0. Support of mshv is disabled temporarily and will be enabled once v0.1.0 has been published. Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
1 parent 0148930 commit abf0c32

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

.buildkite/custom-tests.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
{
22
"tests": [
3-
{
4-
"test_name": "build-mshv",
5-
"command": "cargo build --release --no-default-features --features mshv",
6-
"platform": ["x86_64"]
7-
},
8-
{
9-
"test_name": "clippy-mshv",
10-
"command": "cargo clippy --workspace --bins --examples --benches --no-default-features --features mshv --all-targets -- -D warnings",
11-
"platform": ["x86_64"]
12-
},
133
{
144
"test_name": "build-nohv",
155
"command": "cargo build --release --no-default-features",

crates/vfio-ioctls/Cargo.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ readme = "README.md"
99
edition = "2018"
1010
keywords = ["vfio"]
1111

12+
[package.metadata.docs.rs]
13+
features = ["kvm"]
14+
1215
[features]
1316
default = ["kvm"]
1417
kvm = ["kvm-ioctls", "kvm-bindings"]
15-
mshv = ["mshv-ioctls", "mshv-bindings"]
18+
#mshv = ["mshv-ioctls", "mshv-bindings"]
1619

1720
[dependencies]
1821
byteorder = ">=1.2.1"
@@ -24,5 +27,5 @@ thiserror = ">=1.0"
2427
vfio-bindings = "~0"
2528
vm-memory = { version = ">=0.6", features = ["backend-mmap"] }
2629
vmm-sys-util = ">=0.8.0"
27-
mshv-bindings = { git = "https://github.com/rust-vmm/mshv", branch = "main", features = ["with-serde", "fam-wrappers"], optional = true }
28-
mshv-ioctls = { git = "https://github.com/rust-vmm/mshv", branch = "main", optional = true }
30+
#mshv-bindings = { git = "https://github.com/rust-vmm/mshv", branch = "main", features = ["with-serde", "fam-wrappers"], optional = true }
31+
#mshv-ioctls = { git = "https://github.com/rust-vmm/mshv", branch = "main", optional = true }

0 commit comments

Comments
 (0)