Skip to content

Commit 2874529

Browse files
crobinsosuryasaimadhu
authored andcommitted
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: fce96cf ("virt: Add SEV-SNP guest driver") Signed-off-by: Cole Robinson <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Acked-by: Tom Lendacky <[email protected]> Link: https://lore.kernel.org/r/ff480c5e688eb0a72a4db0a29c7b1bb54c45bfd4.1667594253.git.crobinso@redhat.com
1 parent c6fbb75 commit 2874529

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/virt/coco/sev-guest/sev-guest.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,3 +742,4 @@ MODULE_AUTHOR("Brijesh Singh <[email protected]>");
742742
MODULE_LICENSE("GPL");
743743
MODULE_VERSION("1.0.0");
744744
MODULE_DESCRIPTION("AMD SEV Guest Driver");
745+
MODULE_ALIAS("platform:sev-guest");

0 commit comments

Comments
 (0)