Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save misterch0c/ed62048e30dbdd2b0d35bd7a287d1e2e to your computer and use it in GitHub Desktop.
Save misterch0c/ed62048e30dbdd2b0d35bd7a287d1e2e to your computer and use it in GitHub Desktop.
Kernel 4.6.1-2 & VMware Workstation 12.1.1 build-3770994 patch
cd /usr/lib/vmware/modules/source
sudo tar xvf /usr/lib/vmware/modules/source/vmmon.tar
cd vmmon-only
#open linux/hostif.c and replace 'get_user_pages' by 'get_user_pages_remote'
sudo tar cvf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only
sudo tar xvf /usr/lib/vmware/modules/source/vmnet.tar
cd vmnet-only
#open linux/userif.c and replace 'get_user_pages' by 'get_user_pages_remote'
sudo tar cvf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment