diff options
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r-- | include/linux/hyperv.h | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index fae8bac907ef..a3b8b2e2d244 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h | |||
@@ -27,6 +27,14 @@ | |||
27 | 27 | ||
28 | #include <linux/types.h> | 28 | #include <linux/types.h> |
29 | 29 | ||
30 | /* | ||
31 | * Framework version for util services. | ||
32 | */ | ||
33 | |||
34 | #define UTIL_FW_MAJOR 3 | ||
35 | #define UTIL_FW_MINOR 0 | ||
36 | #define UTIL_FW_MAJOR_MINOR (UTIL_FW_MAJOR << 16 | UTIL_FW_MINOR) | ||
37 | |||
30 | 38 | ||
31 | /* | 39 | /* |
32 | * Implementation of host controlled snapshot of the guest. | 40 | * Implementation of host controlled snapshot of the guest. |
@@ -455,27 +463,6 @@ hv_get_ringbuffer_availbytes(struct hv_ring_buffer_info *rbi, | |||
455 | *read = dsize - *write; | 463 | *read = dsize - *write; |
456 | } | 464 | } |
457 | 465 | ||
458 | |||
459 | /* | ||
460 | * We use the same version numbering for all Hyper-V modules. | ||
461 | * | ||
462 | * Definition of versioning is as follows; | ||
463 | * | ||
464 | * Major Number Changes for these scenarios; | ||
465 | * 1. When a new version of Windows Hyper-V | ||
466 | * is released. | ||
467 | * 2. A Major change has occurred in the | ||
468 | * Linux IC's. | ||
469 | * (For example the merge for the first time | ||
470 | * into the kernel) Every time the Major Number | ||
471 | * changes, the Revision number is reset to 0. | ||
472 | * Minor Number Changes when new functionality is added | ||
473 | * to the Linux IC's that is not a bug fix. | ||
474 | * | ||
475 | * 3.1 - Added completed hv_utils driver. Shutdown/Heartbeat/Timesync | ||
476 | */ | ||
477 | #define HV_DRV_VERSION "3.1" | ||
478 | |||
479 | /* | 466 | /* |
480 | * VMBUS version is 32 bit entity broken up into | 467 | * VMBUS version is 32 bit entity broken up into |
481 | * two 16 bit quantities: major_number. minor_number. | 468 | * two 16 bit quantities: major_number. minor_number. |
@@ -1494,7 +1481,7 @@ struct hyperv_service_callback { | |||
1494 | }; | 1481 | }; |
1495 | 1482 | ||
1496 | #define MAX_SRV_VER 0x7ffffff | 1483 | #define MAX_SRV_VER 0x7ffffff |
1497 | extern void vmbus_prep_negotiate_resp(struct icmsg_hdr *, | 1484 | extern bool vmbus_prep_negotiate_resp(struct icmsg_hdr *, |
1498 | struct icmsg_negotiate *, u8 *, int, | 1485 | struct icmsg_negotiate *, u8 *, int, |
1499 | int); | 1486 | int); |
1500 | 1487 | ||