Kernel 4.6 VMware Workstation 12 get_user_pages error
My Archlinux system just upgraded to kernel 4.6 and when compiling VMware Workstation 12 modules, I get:
/usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c error: too many arguments to function ‘get_user_pages’
Fortunately, this is a known problem, solved in the VMware Workstation Community forum.
The solution is to replace all "get_user_pages" calls with "get_user_pages_remote".
I got to replace:
- 1 occurence in "vmmon-only/linux/hostif.c"
- 1 occurence in "vmnet-only/userif.c"
This made it for me. Thanks go to "the community".
References: https://bugzilla.redhat.com/show_bug.cgi?id=1278896