An unmapped range inside the guest arena stays a PROT_NONE host reservation, so host munlock succeeds on it. Check the guest mapping state first, as msync does, and return ENOMEM for ranges the guest has not mapped or reserved. |
||
|---|---|---|
| .. | ||
| DirectMemory.cpp | ||
| DirectMemory.hpp | ||
| Export.cpp | ||
| MemoryPool.cpp | ||
| MemoryPool.hpp | ||
| MemoryPoolExport.cpp | ||
| PosixMemory.cpp | ||