Skip to content

Commit

Permalink
ioctls: prepare for publishing v0.1.0
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jiangliu committed Dec 20, 2021
1 parent 0148930 commit abf0c32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
10 changes: 0 additions & 10 deletions .buildkite/custom-tests.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
{
"tests": [
{
"test_name": "build-mshv",
"command": "cargo build --release --no-default-features --features mshv",
"platform": ["x86_64"]
},
{
"test_name": "clippy-mshv",
"command": "cargo clippy --workspace --bins --examples --benches --no-default-features --features mshv --all-targets -- -D warnings",
"platform": ["x86_64"]
},
{
"test_name": "build-nohv",
"command": "cargo build --release --no-default-features",
Expand Down
9 changes: 6 additions & 3 deletions crates/vfio-ioctls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ readme = "README.md"
edition = "2018"
keywords = ["vfio"]

[package.metadata.docs.rs]
features = ["kvm"]

[features]
default = ["kvm"]
kvm = ["kvm-ioctls", "kvm-bindings"]
mshv = ["mshv-ioctls", "mshv-bindings"]
#mshv = ["mshv-ioctls", "mshv-bindings"]

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

0 comments on commit abf0c32

Please sign in to comment.