| Previous | Next |
| WHV_E_INVALID_PARTITION_CONFIG | WHV_E_VP_ALREADY_EXISTS |
WHV_E_GPA_RANGE_NOT_FOUND
Guest physical addresses exist only where the caller established mappings
WHV_E_GPA_RANGE_NOT_FOUND refers to the guest physical address space of a WHP partition. WHvMapGpaRange associates a page-aligned GPA interval with memory in the caller, while unmapping or replacing that interval changes what the virtual processor can access.
The error can result from an incorrect address calculation, partial overlap, use after unmap, a reset path that forgot to rebuild mappings or a device model accessing a range that was never installed. It is not evidence that the host virtual address itself is invalid.
Evidence and corrective action
- Log the requested GPA, length and operation together with the active mapping table.
- Verify page alignment and overflow when calculating the end of the range.
- Check whether another thread unmapped or replaced the interval during virtual processor execution.
- Recreate required mappings after partition reset or memory-layout reconstruction.
- Keep host buffer lifetime at least as long as the corresponding GPA mapping.
References
Looking for a different code? Search another status or error code.
