Vmware 12.1.1 patch for kernel 4.9
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spike 020d3ba8f3 initial commit 7 years ago
vmmon-hostif.c initial commit 7 years ago
vmnet-userif.c initial commit 7 years ago
README.md initial commit 7 years ago

README.md

Patch for Vmware 12.1.1 Kernel 4.9

Note: User at your own risk !

Vmware 12.1 modules compilation is broke since kernel 4.9. Heres a quick and dirty patch I came up with after failing to find a solution.

Usage

  1. Go to vmware modules source directory cd /usr/lib/vmware/modules/source/

9beae1ea89

  • two variables(write, force) replaced with gup_flags
  • gup flags used like this unsigned int flags = 0;

flags |= FOLL_WRITE 1, 0, pvec + pinned ---> flags, pvec + pinned 1e9877902d (diff-e37c5ffd9b4db050c3f7eae7d74e64c3R1230)

write, force, pages --> flags(write=1,force=0)

flags: the flags must be write only and not force FOLL_WRITE 6e5c8381d1/include/linux/mm.h (L2278)