x11-drivers/xf86-video-virtualbox: build vboxdrv.ko objects a little differently
authorIan Stakenvicius <axs@gentoo.org>
Tue, 10 May 2016 21:22:24 +0000 (17:22 -0400)
committerIan Stakenvicius <axs@gentoo.org>
Tue, 10 May 2016 21:23:59 +0000 (17:23 -0400)
commit2c0ee347b81c3abfe84ef030a87621079f2ce8ce
tree948c97281f7b37d5240257a6da42aadf0fa853ec
parentd9e1f3bd966a4b9cccc7f25ac55592b0673c7c7d
x11-drivers/xf86-video-virtualbox: build vboxdrv.ko objects a little differently

This is an attempt at preventing bug 582078.  With DRM_TTM enabled in the kernel
(choosing the DRM module for any of the other VMs will include it), and a sufficient
vmalloc= specified to the kernel (at least 1.5x the amount of gpu memory provided), the module
will load into the kernel.

Tests on an x86 vm and 4.1.23 kernel resulted in PANICs; YMMV.

Package-Manager: portage-2.2.26
x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-5.0.20-r1.ebuild [new file with mode: 0644]