Created attachment 164410 [details] virtualbox patch update A recent change to the base system (r292469) removed a VM function that the virtualbox kernel modules uses. I've attached a patch which fixes it. See https://lists.freebsd.org/pipermail/freebsd-current/2015-December/059005.html I note that the patch (generated by "make makepatch") contains some unrelated cosmetic changes, but from reading the makepatch script, they appear to be intended.
I'll take it.
Created attachment 164465 [details] Fix build after vm_pageout_grow_cache() removal Please try this patch and let me know.
It seems to be ok. I omitted the VM_WAIT in my original patch because I can't tell if that code might be executed in a non-sleepable context.
(In reply to Mark Johnston from comment #3) Actually, I am not 100% sure whether we can sleep any more. I'll just commit yours for now.
A commit references this bug: Author: jkim Date: Mon Dec 21 22:34:02 UTC 2015 New revision: 404195 URL: https://svnweb.freebsd.org/changeset/ports/404195 Log: Fix build on head after vm_pageout_grow_cache() removal. PR: 205452 Changes: head/emulators/virtualbox-ose/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd.c
Committed (r404195), thanks!