History

Drivers: hv: vmbus: Enable VMBus protocol versions 4.1, 5.1 and 5.2

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).

Andrea Parri committed 7 years ago

Commit 2d4f49b1 parent bedc61a2 files · +15 −6Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/hyperv.h+7−1
@@ -182,15 +182,21 @@ static inline u32 hv_get_avail_to_write_percent( · 181 unmodified lines
182182 * 2 . 4 (Windows 8)
183183 * 3 . 0 (Windows 8 R2)
184184 * 4 . 0 (Windows 10)
185+ * 4 . 1 (Windows 10 RS3)
185186 * 5 . 0 (Newer Windows 10)
187+ * 5 . 1 (Windows 10 RS4)
188+ * 5 . 2 (Windows Server 2019, RS5)
186189 */
187190
188191 #define VERSION_WS2008 ((0 << 16) | (13))
189192 #define VERSION_WIN7 ((1 << 16) | (1))
190193 #define VERSION_WIN8 ((2 << 16) | (4))
191194 #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))
193197 #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))
194200
195201 /* Make maximum size of pipe payload of 16K */
196202 #define MAX_PIPE_DATA_PAYLOAD (sizeof(u8) * 16384)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t