diff options
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r-- | include/linux/hyperv.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 11afc4e0849a..b587c448e8ab 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h | |||
@@ -181,6 +181,17 @@ enum hv_kvp_exchg_pool { | |||
181 | KVP_POOL_COUNT /* Number of pools, must be last. */ | 181 | KVP_POOL_COUNT /* Number of pools, must be last. */ |
182 | }; | 182 | }; |
183 | 183 | ||
184 | /* | ||
185 | * Some Hyper-V status codes. | ||
186 | */ | ||
187 | |||
188 | #define HV_S_OK 0x00000000 | ||
189 | #define HV_E_FAIL 0x80004005 | ||
190 | #define HV_S_CONT 0x80070103 | ||
191 | #define HV_ERROR_NOT_SUPPORTED 0x80070032 | ||
192 | #define HV_ERROR_MACHINE_LOCKED 0x800704F7 | ||
193 | #define HV_ERROR_DEVICE_NOT_CONNECTED 0x8007048F | ||
194 | |||
184 | #define ADDR_FAMILY_NONE 0x00 | 195 | #define ADDR_FAMILY_NONE 0x00 |
185 | #define ADDR_FAMILY_IPV4 0x01 | 196 | #define ADDR_FAMILY_IPV4 0x01 |
186 | #define ADDR_FAMILY_IPV6 0x02 | 197 | #define ADDR_FAMILY_IPV6 0x02 |
@@ -1048,12 +1059,6 @@ void vmbus_driver_unregister(struct hv_driver *hv_driver); | |||
1048 | #define ICMSGHDRFLAG_REQUEST 2 | 1059 | #define ICMSGHDRFLAG_REQUEST 2 |
1049 | #define ICMSGHDRFLAG_RESPONSE 4 | 1060 | #define ICMSGHDRFLAG_RESPONSE 4 |
1050 | 1061 | ||
1051 | #define HV_S_OK 0x00000000 | ||
1052 | #define HV_E_FAIL 0x80004005 | ||
1053 | #define HV_S_CONT 0x80070103 | ||
1054 | #define HV_ERROR_NOT_SUPPORTED 0x80070032 | ||
1055 | #define HV_ERROR_MACHINE_LOCKED 0x800704F7 | ||
1056 | #define HV_ERROR_DEVICE_NOT_CONNECTED 0x8007048F | ||
1057 | 1062 | ||
1058 | /* | 1063 | /* |
1059 | * While we want to handle util services as regular devices, | 1064 | * While we want to handle util services as regular devices, |