summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Kelley <mhkelley58@gmail.com>2026-08-05 13:37:46 -0700
committerWei Liu <wei.liu@kernel.org>2026-08-24 00:35:41 +0000
commita9a05e801efffe3a2f949fef2a83f855e733d6e1 (patch)
tree2780afb508f00aeea275cf5e9507ea1f0c4f5b24 /include
parentf85e1cc5ecbbbb18ac68639f667c9de49b3ca986 (diff)
downloadlinux-a9a05e801efffe3a2f949fef2a83f855e733d6e1.tar.gz
linux-a9a05e801efffe3a2f949fef2a83f855e733d6e1.zip
Drivers: hv: Remove support for WS2012/2012R2 & Win8/8.1 version of Hyper-V
Linux code for running as a Hyper-V guest includes special cases for running on Hyper-V in WS2012/2012R2 and Windows 8/8.1. These versions were initially released 14 years ago, and official support ended in 2023 (unless a customer has contracted for extended security updates). Given the release of subsequent versions with improved functionality, there's no need to continue to support the latest Linux kernels on these versions of Hyper-V. If someone is running Linux on one of these older Hyper-V versions and doesn't want to upgrade, they can continue to do so as presumably they don't want upgrade the Linux version either. Simplify Linux code by removing special cases for running on these old versions of Hyper-V. Remove the negotiation of the VMBus protocol versions for WS2012/Win8, and remove special case code based on those VMBus protocol versions. Also update the balloon and snapshot drivers to no longer negotiate driver-specific protocol versions for these older Hyper-V versions, and remove any related special cases. Signed-off-by: Michael Kelley <mhklinux@outlook.com> Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/hyperv.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index a97be78653e8..9e109d91aa14 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -261,9 +261,8 @@ static inline u32 hv_get_avail_to_write_percent(
* 5 . 2 (Windows Server 2019, RS5)
* 5 . 3 (Windows Server 2022)
*
- * The WS2008 and WIN7 versions are listed here for
- * completeness but are no longer supported in the
- * Linux kernel.
+ * The WS2008, WIN7, WIN8, and WIN8_1 versions are listed here for
+ * completeness but are no longer supported in the Linux kernel.
*/
#define VMBUS_MAKE_VERSION(MAJ, MIN) ((((u32)MAJ) << 16) | (MIN))