Re: [PATCH v2] vhost/vsock: specify module version
From: Jakub Kicinski
Date: Wed Oct 02 2024 - 10:21:32 EST
On Mon, 30 Sep 2024 19:03:52 +0200 Aleksandr Mikhalitsyn wrote:
> > At this point my question is, should we solve the problem higher and
> > show all the modules in /sys/modules, either way?
>
> Probably, yes. We can ask Luis Chamberlain's opinion on this one.
>
> +cc Luis Chamberlain <mcgrof@xxxxxxxxxx>
>
> >
> > Your use case makes sense to me, so that we could try something like
> > that, but obviously it requires more work I think.
>
> I personally am pretty happy to do more work on the generic side if
> it's really valuable
> for other use cases and folks support the idea.
IMHO a generic solution would be much better. I can't help but feel
like exposing an arbitrary version to get the module to show up in
sysfs is a hack.
IIUC the list of built in modules is available in
/lib/modules/*/modules.builtin, the user space can't read that?