Messages in this thread | | | Date | Mon, 7 Nov 2022 08:09:08 -0600 | Subject | Re: [PATCH] virt: sev-guest: Add MODULE_ALIAS | From | Tom Lendacky <> |
| |
On 11/5/22 11:08, Cole Robinson wrote: > On 11/4/22 4:53 PM, Borislav Petkov wrote: >> On Fri, Nov 04, 2022 at 04:42:45PM -0400, Cole Robinson wrote: >>> This fixes driver autoloading >> >> What is the scenario where this needs to be autoloaded? >> > > Any use case that needs /dev/sev-guest, I guess. Saves software from > having to do the modprobe manually. For example, nothing I can find in > https://github.com/AMDESE/sev-guest loads the driver, it expects > /dev/sev-guest to be there already > > Mostly I assumed lack of autoloading was an oversight. Was it > intentionally omitted?
It probably was an oversight. To me, it makes sense to auto-load the module if the SNP support created the platform device as part of SNP initialization.
Thanks, Tom
> > Thanks, > Cole >
| |