@@ -14,34 +14,36 @@ struct hv_u128 {
1414} __packed ;
1515
1616/* NOTE: when adding below, update hv_result_to_string() */
17- #define HV_STATUS_SUCCESS 0x0
18- #define HV_STATUS_INVALID_HYPERCALL_CODE 0x2
19- #define HV_STATUS_INVALID_HYPERCALL_INPUT 0x3
20- #define HV_STATUS_INVALID_ALIGNMENT 0x4
21- #define HV_STATUS_INVALID_PARAMETER 0x5
22- #define HV_STATUS_ACCESS_DENIED 0x6
23- #define HV_STATUS_INVALID_PARTITION_STATE 0x7
24- #define HV_STATUS_OPERATION_DENIED 0x8
25- #define HV_STATUS_UNKNOWN_PROPERTY 0x9
26- #define HV_STATUS_PROPERTY_VALUE_OUT_OF_RANGE 0xA
27- #define HV_STATUS_INSUFFICIENT_MEMORY 0xB
28- #define HV_STATUS_INVALID_PARTITION_ID 0xD
29- #define HV_STATUS_INVALID_VP_INDEX 0xE
30- #define HV_STATUS_NOT_FOUND 0x10
31- #define HV_STATUS_INVALID_PORT_ID 0x11
32- #define HV_STATUS_INVALID_CONNECTION_ID 0x12
33- #define HV_STATUS_INSUFFICIENT_BUFFERS 0x13
34- #define HV_STATUS_NOT_ACKNOWLEDGED 0x14
35- #define HV_STATUS_INVALID_VP_STATE 0x15
36- #define HV_STATUS_NO_RESOURCES 0x1D
37- #define HV_STATUS_PROCESSOR_FEATURE_NOT_SUPPORTED 0x20
38- #define HV_STATUS_INVALID_LP_INDEX 0x41
39- #define HV_STATUS_INVALID_REGISTER_VALUE 0x50
40- #define HV_STATUS_OPERATION_FAILED 0x71
41- #define HV_STATUS_INSUFFICIENT_CONTIGUOUS_MEMORY 0x75
42- #define HV_STATUS_TIME_OUT 0x78
43- #define HV_STATUS_CALL_PENDING 0x79
44- #define HV_STATUS_VTL_ALREADY_ENABLED 0x86
17+ #define HV_STATUS_SUCCESS 0x0
18+ #define HV_STATUS_INVALID_HYPERCALL_CODE 0x2
19+ #define HV_STATUS_INVALID_HYPERCALL_INPUT 0x3
20+ #define HV_STATUS_INVALID_ALIGNMENT 0x4
21+ #define HV_STATUS_INVALID_PARAMETER 0x5
22+ #define HV_STATUS_ACCESS_DENIED 0x6
23+ #define HV_STATUS_INVALID_PARTITION_STATE 0x7
24+ #define HV_STATUS_OPERATION_DENIED 0x8
25+ #define HV_STATUS_UNKNOWN_PROPERTY 0x9
26+ #define HV_STATUS_PROPERTY_VALUE_OUT_OF_RANGE 0xA
27+ #define HV_STATUS_INSUFFICIENT_MEMORY 0xB
28+ #define HV_STATUS_INVALID_PARTITION_ID 0xD
29+ #define HV_STATUS_INVALID_VP_INDEX 0xE
30+ #define HV_STATUS_NOT_FOUND 0x10
31+ #define HV_STATUS_INVALID_PORT_ID 0x11
32+ #define HV_STATUS_INVALID_CONNECTION_ID 0x12
33+ #define HV_STATUS_INSUFFICIENT_BUFFERS 0x13
34+ #define HV_STATUS_NOT_ACKNOWLEDGED 0x14
35+ #define HV_STATUS_INVALID_VP_STATE 0x15
36+ #define HV_STATUS_NO_RESOURCES 0x1D
37+ #define HV_STATUS_PROCESSOR_FEATURE_NOT_SUPPORTED 0x20
38+ #define HV_STATUS_INVALID_LP_INDEX 0x41
39+ #define HV_STATUS_INVALID_REGISTER_VALUE 0x50
40+ #define HV_STATUS_OPERATION_FAILED 0x71
41+ #define HV_STATUS_INSUFFICIENT_ROOT_MEMORY 0x73
42+ #define HV_STATUS_INSUFFICIENT_CONTIGUOUS_MEMORY 0x75
43+ #define HV_STATUS_TIME_OUT 0x78
44+ #define HV_STATUS_CALL_PENDING 0x79
45+ #define HV_STATUS_INSUFFICIENT_CONTIGUOUS_ROOT_MEMORY 0x83
46+ #define HV_STATUS_VTL_ALREADY_ENABLED 0x86
4547
4648/*
4749 * The Hyper-V TimeRefCount register and the TSC
0 commit comments