Page MenuHomeFreeBSD

emulators/virtualbox-ose-kmod: Tie the virtualbox kernel module to a specific release branch.
AcceptedPublic

Authored by jhb on Jul 3 2018, 11:26 PM.

Details

Reviewers
jkim
madpilot
lwhsu
Group Reviewers
vbox
Summary

Use a more restricted range of supported FreeBSD_version values
for the virtualbox kernel module since it uses internal KPIs for
which KBI stability is not guaranteed. DECLARE_MODULE_TIED would
tie the module to a specific
FreeBSD_version which would cause
the module to stop loading when an SA or EN is pushed on a release
branch. Instead, use DECLARE_MODULE_MAXVER with an upper bound
that is limited to the range of a releng branch so that a module
built on X.Y will load on X.Y with SAs or ENs applied but will
fail to load on X.Y-1 or X.Y+1.

Test Plan
  • only compiled, would be good to do runtime testing. This came up at BSDCan as the package built on 11.1 panics when loaded on an 11.2 kernel. This just avoids the panic in that case.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 17827
Build 17600: arc lint + arc unit

Event Timeline

linimon retitled this revision from Tie the virtualbox kernel module to a specific release branch. to emulators/virtualbox-ose-kmod: Tie the virtualbox kernel module to a specific release branch..Jul 18 2018, 1:03 PM
This revision is now accepted and ready to land.Sep 22 2020, 2:33 PM