Created
August 31, 2016 20:33
-
-
Save lichti/4dd5ce25da71ad2a9092ea7c5d42f9bc to your computer and use it in GitHub Desktop.
fix vmware 12 driver - linux 4.4+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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