diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2012-12-01 06:46:41 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 11:34:36 -0800 |
commit | 37f7278b81a9ab9b76cf4d716ba420444ca4a616 (patch) | |
tree | 5009a8fe1db5b3e8a88f7d307ddca8b85fc2a912 /include/linux/hyperv.h | |
parent | 29423b7e51a8ea4d687cf98c3a50f33c554be194 (diff) | |
download | linux-37f7278b81a9ab9b76cf4d716ba420444ca4a616.tar.gz linux-37f7278b81a9ab9b76cf4d716ba420444ca4a616.tar.bz2 linux-37f7278b81a9ab9b76cf4d716ba420444ca4a616.zip |
Drivers: hv: Save and export negotiated vmbus version
Export the negotiated vmbus version as this may be useful for
individual drivers.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r-- | include/linux/hyperv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index bee559ada3bb..134a2022a7a3 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -1204,5 +1204,11 @@ int hv_kvp_init(struct hv_util_service *); void hv_kvp_deinit(void); void hv_kvp_onchannelcallback(void *); +/* + * Negotiated version with the Host. + */ + +extern __u32 vmbus_proto_version; + #endif /* __KERNEL__ */ #endif /* _HYPERV_H */ |