Re: [PATCH v2] vhost/vsock: specify module version
From: Michael S. Tsirkin
Date: Wed Nov 06 2024 - 04:11:56 EST
On Wed, Oct 02, 2024 at 07:16:02AM -0700, Jakub Kicinski wrote:
> 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?
So what are we doing about this? Aleksandr?
--
MST