Skip to content

Commit a8f10d7

Browse files
committed
Update dependencies
Signed-off-by: Simon Davies <[email protected]>
1 parent b9c67fb commit a8f10d7

File tree

3 files changed

+59
-12
lines changed

3 files changed

+59
-12
lines changed

Cargo.lock

Lines changed: 52 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ repository = "https://github.com/hyperlight-dev/hyperlight"
3333
readme = "README.md"
3434

3535
[workspace.dependencies]
36-
mshv-bindings = { version = "=0.2.1" }
37-
mshv-ioctls = { version = "=0.2.1" }
3836

3937
hyperlight-common = { path = "src/hyperlight_common", version = "0.1.0", default-features = false }
4038
hyperlight-host = { path = "src/hyperlight_host", version = "0.1.0", default-features = false }

src/hyperlight_host/Cargo.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,12 @@ windows-version = "0.1"
7171

7272
[target.'cfg(unix)'.dependencies]
7373
seccompiler = { version = "0.4.0", optional = true }
74-
mshv-bindings = { workspace = true, optional = true }
75-
mshv-ioctls = { workspace = true, optional = true }
7674
kvm-bindings = { version = "0.10.0", features = ["fam-wrappers"], optional = true }
7775
kvm-ioctls = { version = "0.19.1", optional = true }
76+
mshv-bindings2 = { package="mshv-bindings", version = "=0.2.1", optional = true }
77+
mshv-ioctls2 = { package="mshv-ioctls", version = "=0.2.1", optional = true}
78+
mshv-bindings3 = { package="mshv-bindings", version = "0.3.2", optional = true }
79+
mshv-ioctls3 = { package="mshv-ioctls", version = "0.3.2", optional = true}
7880

7981
[dev-dependencies]
8082
uuid = { version = "1.12.1", features = ["v4"] }
@@ -114,15 +116,16 @@ cfg_aliases = "0.2.1"
114116
built = { version = "0.7.0", features = ["chrono", "git2"] }
115117

116118
[features]
117-
default = ["kvm", "mshv", "seccomp"]
119+
default = ["kvm", "mshv2", "seccomp"]
118120
seccomp = ["dep:seccompiler"]
119121
function_call_metrics = []
120122
executable_heap = []
121123
# This feature enables printing of debug information to stdout in debug builds
122124
print_debug = []
123125
crashdump = ["dep:tempfile"] # Dumps the VM state to a file on unexpected errors or crashes. The path of the file will be printed on stdout and logged. This feature can only be used in debug builds.
124126
kvm = ["dep:kvm-bindings", "dep:kvm-ioctls"]
125-
mshv = ["dep:mshv-bindings", "dep:mshv-ioctls"]
127+
mshv2 = ["dep:mshv-bindings2", "dep:mshv-ioctls2"]
128+
mshv3 = ["dep:mshv-bindings3", "dep:mshv-ioctls3"]
126129
inprocess = []
127130

128131
[[bench]]

0 commit comments

Comments
 (0)