Files
vmware-host-modules/vmmon-only
Michal Kubecek 1a90e9e8ae vmmon: avoid set_fs() in HostIF_SemaphoreWait() and HostIF_SemaphoreSignal()
The set_fs() function was dropped on x86_64 architecture by commit
47058bb54b57 ("x86: remove address space overrides using set_fs()") in
5.10-rc1. In HostIF_SemaphoreWait() it is used to allow calling read() file
op on a kernel pointer, in HostIF_SemaphoreSignal() to allow calling
write() file op on a kernel pointer. This is only the case for pre-5.8
kernels as we need to use kernel_read() and kernel_write() helpers on 5.8
and newer anyway.

Use kernel_read() and kernel_write() always, like Workstation 16.0.0 does,
so that we no longer need the set_fs(KERNEL_DS) trick. Make the code of
both functions look exactly like in Workstation 16.0.0 to make future
backports easier.
2020-12-09 09:17:59 +01:00
..
2017-05-31 09:19:26 +02:00
2017-09-30 20:31:15 +02:00

This files in this directory and its subdirectories are the kernel module
portion of the VMware Virtual Machine Monitor.  In order to build, make
certain the Makefile is correct, especially in whether or not your system
is multi-processor and then just type

        make

from this directory.  A copy of the module will be left in

        driver-<kernel version>/vmmon.o

(e.g. driver-up-2.0.32/vmmon.o).

If you have any problems or questions, send mail to support@vmware.com