For virtualbox you should modify Makefile under following subdirectories only: boxdrv, vboxnetapd, vboxnetflt and vboxpci.
The fix in #19 should be complete, since I'm currently on vanilla kernel 4.6.0-rc7 compiled with similar tweak and all modules compiled with mentioned patches and Nvidia, VirtualBox and other stuff work wonderfully.
If you've compiled Nvidia with incomplete patch first, try `dkms remove ...` for that module and then `dkms install ...` again to force it recompile sources instead of using cached version.
For virtualbox you should modify Makefile under following subdirectories only: boxdrv, vboxnetapd, vboxnetflt and vboxpci.
The fix in #19 should be complete, since I'm currently on vanilla kernel 4.6.0-rc7 compiled with similar tweak and all modules compiled with mentioned patches and Nvidia, VirtualBox and other stuff work wonderfully.
If you've compiled Nvidia with incomplete patch first, try `dkms remove ...` for that module and then `dkms install ...` again to force it recompile sources instead of using cached version.