File vmmon.patch of Package vmware-workstation

--- a/vmmon/Makefile
+++ b/vmmon/Makefile
@@ -43,7 +43,11 @@
 endif
 
 
+ifdef KVERSION
+VM_UNAME = $(KVERSION)
+else
 VM_UNAME = $(shell uname -r)
+endif
 
 # Header directory for the running kernel
 ifdef LINUXINCLUDE
Fix from https://communities.vmware.com/t5/VMware-Workstation-Pro/Workstation-17-5-0-vmware-clk-spinning-on-CPU-when-Linux-VMs-are/m-p/2996282
--- a/vmmon-only/linux/hostif.c
+++ b/vmmon-only/linux/hostif.c
@@ -3351,7 +3351,7 @@
     * threads running in the monitor on all physical CPUs.
     */
 
-   if (rate > MIN_RATE) {
+   if (false) {
       if (!linuxState.fastClockThread) {
          struct task_struct *rtcTask;
 
openSUSE Build Service is sponsored by