diff options
author | Cole Robinson <crobinso@redhat.com> | 2022-11-04 23:42:45 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-11-08 17:54:34 +0300 |
commit | 2874529b3513bdc90299c90f40713602da685e35 (patch) | |
tree | a4b78eee6c1c56abe2def4ff195adfc3d6fd2718 /drivers/virt | |
parent | c6fbb759d68898aad40e57d09ed18df6094a1874 (diff) | |
download | linux-2874529b3513bdc90299c90f40713602da685e35.tar.xz |
virt/sev-guest: Add a MODULE_ALIAS
Autoload the driver when, for example, SNP init code creates the
corresponding platform device.
[ bp: Rewrite commit message. ]
Fixes: fce96cf04430 ("virt: Add SEV-SNP guest driver")
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/ff480c5e688eb0a72a4db0a29c7b1bb54c45bfd4.1667594253.git.crobinso@redhat.com
Diffstat (limited to 'drivers/virt')
-rw-r--r-- | drivers/virt/coco/sev-guest/sev-guest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/virt/coco/sev-guest/sev-guest.c b/drivers/virt/coco/sev-guest/sev-guest.c index e9704aecd7ee..13911b9f037b 100644 --- a/drivers/virt/coco/sev-guest/sev-guest.c +++ b/drivers/virt/coco/sev-guest/sev-guest.c @@ -742,3 +742,4 @@ MODULE_AUTHOR("Brijesh Singh <brijesh.singh@amd.com>"); MODULE_LICENSE("GPL"); MODULE_VERSION("1.0.0"); MODULE_DESCRIPTION("AMD SEV Guest Driver"); +MODULE_ALIAS("platform:sev-guest"); |