Skip to content

Commit bb654aa

Browse files
committed
Fix windows stack guard
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent 2a6e29e commit bb654aa

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/hyperlight_host/src/hypervisor/kvm.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ impl Vm for KvmVm {
124124
}
125125

126126
regions.iter().enumerate().try_for_each(|(i, region)| {
127-
println!("memory region flags: {:#?}", region.flags);
128127
let kvm_region = kvm_userspace_memory_region {
129128
slot: i as u32,
130129
guest_phys_addr: region.guest_region.start as u64,

src/hyperlight_host/src/hypervisor/whp.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@ impl Vm for WhpVm {
275275
MemoryRegionFlags::READ => Ok(WHvMapGpaRangeFlagRead),
276276
MemoryRegionFlags::WRITE => Ok(WHvMapGpaRangeFlagWrite),
277277
MemoryRegionFlags::EXECUTE => Ok(WHvMapGpaRangeFlagExecute),
278-
MemoryRegionFlags::STACK_GUARD => Ok(WHvMapGpaRangeFlagNone),
279278
_ => Err(new_error!("Invalid Memory Region Flag")),
280279
})
281280
.collect::<Result<Vec<WHV_MAP_GPA_RANGE_FLAGS>>>()?

0 commit comments

Comments
 (0)