Skip to contentSkip to conversation

Drivers: hv: utils: reduce HV_UTIL_NEGO_TIMEOUT timeout

PATCH New Vitaly Kuznetsov 1 participant 1 message Oct 10, 2016 Hyper-V/Azure core and drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/hv/hyperv_vmbus.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hv/hyperv_vmbus.h +1 -1
index a5b4442..bdab7e7 100644
@@ -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
Signature · 1 line
2.7.4