patch to make vboxvfs work again

John-Mark Gurney jmg at funkthat.com
Sun May 10 06:05:38 UTC 2020


Mateusz Guzik wrote this message on Sat, May 09, 2020 at 23:17 +0200:
> That will do the trick indeed.
> 
> I don't know about that bcmp thingy, ideally it would be needed. I
> presume there is a sufficient header mess which makes this to be the
> easiest hack.

Yeah.  It appears that they compile libraries w/o the kernel headers
and then link those files into the kernel module wrapper...

I did notice that we mistakenly still have a prototype for bcmp in
sys/systm.h even though that function get's #defined to a builtin
instead...

> On 5/9/20, John-Mark Gurney <jmg at funkthat.com> wrote:
> > Hello virtualbox maintainer(s),
> >
> > Attached is a patch to make VirtualBox vboxvfs work again.  I've only
> > tested under -current.
> >
> > mjg, what is the correct way to make this patch work on past versions
> > of FreeBSD?  would a simple #ifdef VFS_VOP_VECTOR_REGISTER wrapper
> > around the call work?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-virtualization mailing list