Re: [PATCH] virt: sev-guest: Add MODULE_ALIAS
From: Cole Robinson
Date: Sat Nov 05 2022 - 12:09:48 EST
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?
Thanks,
Cole