HV_TRANSLATE_GVA_RESULT_CODE enumeration
The HV_TRANSLATE_GVA_RESULT_CODE enumeration contains values that identify the result code of an attempt to translate from a guest virtual address (GVA) to a guest physical address (GPA).
Syntax
typedef enum _HV_TRANSLATE_GVA_RESULT_CODE { HvTranslateGvaSuccess = 0, HvTranslateGvaPageNotPresent = 1, HvTranslateGvaPrivilegeViolation = 2, HvTranslateGvaInvalidPageTableFlags = 3, HvTranslateGvaGpaUnmapped = 4, HvTranslateGvaGpaNoReadAccess = 5, HvTranslateGvaGpaNoWriteAccess = 6, HvTranslateGvaGpaIllegalOverlayAccess = 7 } HV_TRANSLATE_GVA_RESULT_CODE, *PHV_TRANSLATE_GVA_RESULT_CODE;
Constants
- HvTranslateGvaSuccess
-
The translation was successful.
- HvTranslateGvaPageNotPresent
-
A page table entry is marked "not present." That is, the GVA is beyond the range permitted for the paging mode.
- HvTranslateGvaPrivilegeViolation
-
A privilege violation is detected by the hypervisor that is based on access type (read, write, execute) or on the current privilege level.
- HvTranslateGvaInvalidPageTableFlags
-
A reserved bit is set within a page table entry.
- HvTranslateGvaGpaUnmapped
-
The address of a GPA access failure is returned in the GpaPage parameter in a call to the HvTranslateVirtualAddress function.
- HvTranslateGvaGpaNoReadAccess
-
The GPA mapping's access rights indicate that a page is not readable.
- HvTranslateGvaGpaNoWriteAccess
-
The GPA mapping's access rights indicate that a page is not writable.
- HvTranslateGvaGpaIllegalOverlayAccess
-
A page access targets an overlay page that does not allow reads or writes.
Remarks
The HV_TRANSLATE_GVA_RESULT_CODE enumeration is used in the HV_TRANSLATE_GVA_RESULT union.
Requirements
Header |
|
---|
See also
Send comments about this topic to Microsoft
Build date: 11/16/2013