Messages in this thread | | | From | Andy Lutomirski <> | Date | Mon, 20 Sep 2021 11:36:47 -0700 | Subject | Re: [RFC] Expose request_module via syscall |
| |
On Mon, Sep 20, 2021 at 11:16 AM Luis Chamberlain <mcgrof@kernel.org> wrote: > > On Mon, Sep 20, 2021 at 04:51:19PM +0200, Thomas Weißschuh wrote:
> > > Do you mean it literally invokes /sbin/modprobe? If so, hooking this > > > at /sbin/modprobe and calling out to the container manager seems like > > > a decent solution. > > > > Yes it does. Thanks for the idea, I'll see how this works out. > > Would documentation guiding you in that way have helped? If so > I welcome a patch that does just that.
If someone wants to make this classy, we should probably have the container counterpart of a standardized paravirt interface. There should be a way for a container to, in a runtime-agnostic way, issue requests to its manager, and requesting a module by (name, Linux kernel version for which that name makes sense) seems like an excellent use of such an interface.
--Andy
> > Luis
| |