On 6/17/21 11:48 AM, Gerd Hoffmann wrote: > Hi, > >> Do we need to be able to unload modules that we previously loaded? Or is >> this not a realistic requirement? > > Surely doable, but it's work and needs infrastructure we don't have > right now. We must be able to unregister everything modules can > register, which is only partly the case today. We need usage counters > so we can figure whenever a module is in use or not. Maybe more. > > I don't see a use case justifying that work.
If unloading a QEMU module is indeed not a requirement for QEMU itself, or frameworks which use it, do we see optimization opportunities as a consequence? > > The linux kernel can unload modules (when enabled at build time), and > pretty much the only reason I've ever used that is device driver > development: test new driver version without reboot (as long as you > don't make a mistake which Oopses the kernel ...). > > take care, > Gerd > Ciao, Claudio