[vbox-dev] Fixes for API changes in kernel 4.20

Larry Finger Larry.Finger at lwfinger.net
Thu Nov 8 20:27:10 GMT 2018


Hi,

There are a number of changes in kernel 4.20 that affect building the VB 
modules. These are as follows:

1. In struct ethtool_ops, the get_settings member is renamed get_link_ksettings, 
and the callback method is changed. To satisfy the new method, routine 
convert_link_ksettings_to_legacy_settings(), which is not exported by the 
kernel, had to be duplicated.

2. Routine ktime_get_real_ts() must be replaced by ktime_get_real_ts64() and 
there are other places where 64-bit names have to be used.

3. In the drm routines, info->flags no longer accepts FBINFO_CAN_FORCE_OUTPUT. 
According to the kernel commit message, this flag was unused and it can be 
deleted without any harmful effects.

The patch file for these changes is attached.

Larry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixes_for_4.20.patch
Type: text/x-patch
Size: 7147 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20181108/01e341fc/attachment.bin>


More information about the vbox-dev mailing list