From 3f3f3bb048ae9a4c3e740da76cf1148dbbdbec09 Mon Sep 17 00:00:00 2001 From: alan <652732310@qq.com> Date: Fri, 16 May 2025 14:22:38 +0800 Subject: [PATCH] fix typo --- src/memory_region.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/memory_region.rs b/src/memory_region.rs index 3ee949ebb..52d5bdcc4 100644 --- a/src/memory_region.rs +++ b/src/memory_region.rs @@ -20,7 +20,7 @@ use std::{ The MemoryMapping supports a special mapping mode which is used for the stack MemoryRegion. In this mode the backing address space of the host is sliced in power-of-two aligned frames. The exponent of this alignment is specified in vm_gap_shift. Then the virtual address space - of the guest is spread out in a way which leaves gapes, the same size as the frames, in + of the guest is spread out in a way which leaves gaps, the same size as the frames, in between the frames. This effectively doubles the size of the guests virtual address space. But the actual mapped memory stays the same, as the gaps are not mapped and accessing them results in an AccessViolation.