Skip to content

Commit 65ec8df

Browse files
committed
Add logging , update mshv bindings version
Signed-off-by: Simon Davies <[email protected]>
1 parent 159b154 commit 65ec8df

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/hyperlight_host/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ kvm-bindings = { version = "0.11", features = ["fam-wrappers"], optional = true
7878
kvm-ioctls = { version = "0.20", optional = true }
7979
mshv-bindings2 = { package="mshv-bindings", version = "=0.2.1", optional = true }
8080
mshv-ioctls2 = { package="mshv-ioctls", version = "=0.2.1", optional = true}
81-
mshv-bindings3 = { package="mshv-bindings", version = "0.3.2", optional = true }
82-
mshv-ioctls3 = { package="mshv-ioctls", version = "0.3.2", optional = true}
81+
mshv-bindings3 = { package="mshv-bindings", version = "0.3.3", optional = true }
82+
mshv-ioctls3 = { package="mshv-ioctls", version = "0.3.3", optional = true}
8383

8484
[dev-dependencies]
8585
uuid = { version = "1.13.2", features = ["v4"] }

src/hyperlight_host/src/hypervisor/hypervisor_handler.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,9 @@ impl HypervisorHandler {
647647
// If the thread has finished, we try to join it and return the error if it has one
648648
let res = handle.join();
649649
if res.as_ref().is_ok_and(|inner_res| inner_res.is_err()) {
650-
return Err(res.unwrap().unwrap_err());
650+
let err = res.unwrap().unwrap_err();
651+
log::debug!("Handler thread finished with error: {:?} before sending message", err);
652+
return Err(err);
651653
}
652654
Err(HyperlightError::HypervisorHandlerMessageReceiveTimedout())
653655
}

0 commit comments

Comments
 (0)