Skip to content

Instantly share code, notes, and snippets.

@lichti
Created August 31, 2016 20:33
Show Gist options
  • Save lichti/4dd5ce25da71ad2a9092ea7c5d42f9bc to your computer and use it in GitHub Desktop.
Save lichti/4dd5ce25da71ad2a9092ea7c5d42f9bc to your computer and use it in GitHub Desktop.
fix vmware 12 driver - linux 4.4+
cd /usr/lib/vmware/modules/source
tar xvf vmmon.tar
sed -i s/get_user_pages/get_user_pages_remote/g ./vmmon-only/linux/hostif.c
tar cvf vmmon.tar vmmon-only
rm -rf vmmon-only
tar xvf vmnet.tar
sed -i s/get_user_pages/get_user_pages_remote/g ./vmnet-only/userif.c
tar cvf vmmon.tar vmnet-only
rm -rf vmnet-only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment