Hyper-V has added VMBus protocol versions 5.1 and 5.2 in recent release versions. Allow Linux guests to negotiate these new protocol versions on versions of Hyper-V that support them. While on this, also allow guests to negotiate the VMBus protocol version 4.1 (which was missing).
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -182,15 +182,21 @@ static inline u32 hv_get_avail_to_write_percent( · 181 unmodified lines | ||
| 182 | 182 | * 2 . 4 (Windows 8) |
| 183 | 183 | * 3 . 0 (Windows 8 R2) |
| 184 | 184 | * 4 . 0 (Windows 10) |
| 185 | + * 4 . 1 (Windows 10 RS3) | |
| 185 | 186 | * 5 . 0 (Newer Windows 10) |
| 187 | + * 5 . 1 (Windows 10 RS4) | |
| 188 | + * 5 . 2 (Windows Server 2019, RS5) | |
| 186 | 189 | */ |
| 187 | 190 | |
| 188 | 191 | #define VERSION_WS2008 ((0 << 16) | (13)) |
| 189 | 192 | #define VERSION_WIN7 ((1 << 16) | (1)) |
| 190 | 193 | #define VERSION_WIN8 ((2 << 16) | (4)) |
| 191 | 194 | #define VERSION_WIN8_1 ((3 << 16) | (0)) |
| 192 | −#define VERSION_WIN10 ((4 << 16) | (0)) | |
| 195 | +#define VERSION_WIN10 ((4 << 16) | (0)) | |
| 196 | +#define VERSION_WIN10_V4_1 ((4 << 16) | (1)) | |
| 193 | 197 | #define VERSION_WIN10_V5 ((5 << 16) | (0)) |
| 198 | +#define VERSION_WIN10_V5_1 ((5 << 16) | (1)) | |
| 199 | +#define VERSION_WIN10_V5_2 ((5 << 16) | (2)) | |
| 194 | 200 | |
| 195 | 201 | /* Make maximum size of pipe payload of 16K */ |
| 196 | 202 | #define MAX_PIPE_DATA_PAYLOAD (sizeof(u8) * 16384) |