File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/hyperlight_host/src/hypervisor Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ( ) ?,
You can’t perform that action at this time.
0 commit comments