Drivers: hv: Support handling multiple VMBUS versions
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 1 Dec 2012 14:46:38 +0000 (06:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 19:34:36 +0000 (11:34 -0800)
commit610071c38463998d5a66388ff9956aaeb24b49a8
treea5ddb26924b8c328e016bd8004a0b33dfbd78c59
parent4fa152ce24724a4a6b2edd26ca2eb7757ff5b2b8
Drivers: hv: Support handling multiple VMBUS versions

The current code hard coded the vmbus version independent of the host
it was running on. Add code to dynamically negotiate the most appropriate
version.

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>
drivers/hv/connection.c
include/linux/hyperv.h