Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The HvCallUnmapGpaPages hypercall unmaps a contiguous run of GPA pages from a target partition, releasing backing pages / references.
Interface
HV_STATUS
HvCallUnmapGpaPages(
_In_ HV_PARTITION_ID TargetPartitionId,
_In_ HV_GPA_PAGE_NUMBER TargetGpaBase,
_In_ HV_UNMAP_GPA_FLAGS UnmapFlags
);
Call Code
0x004C (Rep)
Input Parameters
| Name | Offset | Size | Information Provided |
|---|---|---|---|
| TargetPartitionId | 0 | 8 | Target partition |
| TargetGpaBase | 8 | 8 | First GPA page to unmap (up to RepCount) |
| UnmapFlags | 16 | 4 | HV_UNMAP_GPA_FLAGS controlling precommit retention and large page handling |