aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2012-12-01 09:46:56 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 14:41:49 -0500
commit2a5c43a821b3b26e6af1cdb987b4daeba6f13a6f (patch)
tree52b171885b466407aebb5cc4ad8030915fa011d4
parent5ab05951c586a2ed9e19a3ed8c437346bfabbfb7 (diff)
Drivers: hv: Enable protocol negotiation with win8 hosts
Now that we have implemented all of the Win8 (WS2012) functionality, negotiate Win8 protocol with the host. 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>
-rw-r--r--drivers/hv/connection.c2
-rw-r--r--include/linux/hyperv.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c
index ac71653abb77..3965537a659d 100644
--- a/drivers/hv/connection.c
+++ b/drivers/hv/connection.c
@@ -194,7 +194,7 @@ int vmbus_connect(void)
194 * version. 194 * version.
195 */ 195 */
196 196
197 version = VERSION_WS2008; 197 version = VERSION_CURRENT;
198 198
199 do { 199 do {
200 ret = vmbus_negotiate_version(msginfo, version); 200 ret = vmbus_negotiate_version(msginfo, version);
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 8c3cb1fc34d4..5095b066df94 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -434,6 +434,7 @@ hv_get_ringbuffer_availbytes(struct hv_ring_buffer_info *rbi,
434 434
435#define VERSION_INVAL -1 435#define VERSION_INVAL -1
436 436
437#define VERSION_CURRENT VERSION_WIN8
437 438
438/* Make maximum size of pipe payload of 16K */ 439/* Make maximum size of pipe payload of 16K */
439#define MAX_PIPE_DATA_PAYLOAD (sizeof(u8) * 16384) 440#define MAX_PIPE_DATA_PAYLOAD (sizeof(u8) * 16384)