Skip to content

Commit 80a5147

Browse files
committed
fix windows clippy warnings
Signed-off-by: Doru Blânzeanu <[email protected]>
1 parent 619e05b commit 80a5147

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hyperlight_host/src/hypervisor/hypervisor_handler.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -852,8 +852,8 @@ fn set_up_hypervisor_partition(
852852
Some(HypervisorType::Whp) => {
853853
let hv = crate::hypervisor::hyperv_windows::HypervWindowsDriver::new(
854854
regions,
855-
mgr.shared_mem.raw_mem_size(), // we use raw_* here because windows driver requires 64K aligned addresses,
856-
mgr.shared_mem.raw_ptr() as *mut c_void, // and instead convert it to base_addr where needed in the driver itself
855+
mgr.lock().unwrap().shared_mem.raw_mem_size(), // we use raw_* here because windows driver requires 64K aligned addresses,
856+
mgr.lock().unwrap().shared_mem.raw_ptr() as *mut c_void, // and instead convert it to base_addr where needed in the driver itself
857857
pml4_ptr.absolute()?,
858858
entrypoint_ptr.absolute()?,
859859
rsp_ptr.absolute()?,

0 commit comments

Comments
 (0)