Skip to content

Commit b537794

Browse files
romank-msftliuw
authored andcommitted
Drivers: hv: Set the default VMBus version to 6.0
The confidential VMBus is supported by the protocol version 6.0 onwards. Attempt to establish the VMBus 6.0 connection thus enabling the confidential VMBus features when available. Signed-off-by: Roman Kisel <romank@linux.microsoft.com> Reviewed-by: Michael Kelley <mhklinux@outlook.com> Signed-off-by: Wei Liu <wei.liu@kernel.org>
1 parent bf35d29 commit b537794

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/hv/connection.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ EXPORT_SYMBOL_GPL(vmbus_proto_version);
5151
* Linux guests and are not listed.
5252
*/
5353
static __u32 vmbus_versions[] = {
54+
VERSION_WIN10_V6_0,
5455
VERSION_WIN10_V5_3,
5556
VERSION_WIN10_V5_2,
5657
VERSION_WIN10_V5_1,
@@ -65,7 +66,7 @@ static __u32 vmbus_versions[] = {
6566
* Maximal VMBus protocol version guests can negotiate. Useful to cap the
6667
* VMBus version for testing and debugging purpose.
6768
*/
68-
static uint max_version = VERSION_WIN10_V5_3;
69+
static uint max_version = VERSION_WIN10_V6_0;
6970

7071
module_param(max_version, uint, S_IRUGO);
7172
MODULE_PARM_DESC(max_version,

0 commit comments

Comments
 (0)