Преглед изворни кода

Drivers: hv: utils: reduce HV_UTIL_NEGO_TIMEOUT timeout

I discovered that at least WS2016TP5 host has 60 seconds timeout for the
ICMSGTYPE_NEGOTIATE message so we need to lower guest's timeout a little
bit to make sure we always respond in time. Let's make it 55 seconds.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Vitaly Kuznetsov пре 8 година
родитељ
комит
d7edd31ba9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      drivers/hv/hyperv_vmbus.h

+ 1 - 1
drivers/hv/hyperv_vmbus.h

@@ -38,7 +38,7 @@
 /*
  * Timeout for guest-host handshake for services.
  */
-#define HV_UTIL_NEGO_TIMEOUT 60
+#define HV_UTIL_NEGO_TIMEOUT 55
 
 /*
  * The below CPUID leaves are present if VersionAndFeatures.HypervisorPresent