[vbox-dev] compile patch for 5.1.6

Klaus Espenlaub klaus.espenlaub at oracle.com
Mon Aug 7 09:56:10 UTC 2017

Hi Reinoud,

On 07.08.2017 01:52, Reinoud Koornstra wrote:
> Hello Everyone,
> Currently virtualbox 5.1.6 fails to compile for kernel version 4.9 and up.
> This is due to a change in get_user_pages api.
> The ints for write and force have changed to gup_flags.
> Please find the patch attach to fix this for linux 4.9 and up.

Wondering why this is necessary... we can't change the code of an old 
VirtualBox release (5.1.6 came out almost a year ago, Linux 4.9 about 
half a year later).

VirtualBox 5.1.12 can deal with Linux 4.9, but better use the latest 
release of VirtualBox (currently 5.1.26) to get the latest security and 
other bug fixes.


> Last time I tried to sent it, it wasn't recognized as text, so i'll
> paste it in now.
> Thanks,
> Reinoud.

More information about the vbox-dev mailing list