Maxime Villard <m...@m00nbsd.net> writes: >> Introduce a weak alias method of exporting different implementations >> of the same API. > > Please revert or fix this change.
I'm not sure what the fix is - do you have a suggestion ? > The kernel modules that use these functions can't be modloaded > anymore, because weak symbols aren't resolved. > > Eg, NVMM can't be modloaded anymore, because it uses rcr0 among others. > I think I'll revert these for now, because PVHVM doesn't/shouldn't use them anyway, but I'd like to know how to fix this properly. modload not working due to __weak_alias() sounds like something we don't do properly in the modload path. -- ~cherry