summarylogtreecommitdiffstats
path: root/vmmon.patch
diff options
context:
space:
mode:
authorJean-Marc Lenoir2020-08-08 18:18:24 +0200
committerJean-Marc Lenoir2020-08-08 18:18:24 +0200
commitafc80e4f2f1fd0e9a43887e561d8ea1def8bdf95 (patch)
treececf6eac133374f9cbc93259741668e43ad42478 /vmmon.patch
parent8bb888c70a6909a03f3d703f7a2888c19c7f5192 (diff)
downloadaur-afc80e4f2f1fd0e9a43887e561d8ea1def8bdf95.tar.gz
Prevent VMware to run on Linux>=5.8
Diffstat (limited to 'vmmon.patch')
-rw-r--r--vmmon.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/vmmon.patch b/vmmon.patch
index 4b986518b5b0..6fac361ec396 100644
--- a/vmmon.patch
+++ b/vmmon.patch
@@ -855,6 +855,15 @@
#endif /* __PGTBL_H__ */
--- a/vmmon/linux/driver.c
+++ b/vmmon/linux/driver.c
+@@ -39,6 +39,8 @@
+
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 16)
+ #error Linux before 2.6.16 is not supported
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)
++#error Linux kernels from 5.8.0 are not supported
+ #endif
+
+ #include <asm/io.h>
@@ -108,7 +108,11 @@
static int LinuxDriver_Close(struct inode *inode, struct file *filp);