[PATCH 3/3] Drivers: hv: utils: Support TimeSync version 4.0 protocol samples.

Olaf Hering olaf at aepfle.de
Tue Sep 13 17:38:16 UTC 2016


On Thu, Sep 08, kys at exchange.microsoft.com wrote:

> -	default:
> +	case(VERSION_WIN10):
>  		util_fw_version = UTIL_FW_VERSION;
>  		sd_srv_version = SD_VERSION;
>  		ts_srv_version = TS_VERSION;
>  		hb_srv_version = HB_VERSION;
> +		break;
> +	default:
> +		util_fw_version = UTIL_FW_VERSION;
> +		sd_srv_version = SD_VERSION;
> +		ts_srv_version = TS_VERSION_3;
> +		hb_srv_version = HB_VERSION;

Is this correct? An old kernel on a newer host would use the old
protocol. I assume that new host will also know about the old protocol?
Perhaps a better approach would be to list the known existing hosts and
use the new protocol for upcoming, unknown hosts via 'default:'.

Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20160913/0a57d6c5/attachment.asc>


More information about the devel mailing list