Commit d63670d2 authored by Tom Lendacky's avatar Tom Lendacky Committed by Borislav Petkov

virt: sevguest: Rename the sevguest dir and files to sev-guest

Rename the drivers/virt/coco/sevguest directory and files to sev-guest
so as to match the driver name.

  [ bp: Rename Documentation/virt/coco/sevguest.rst too, as reported by sfr:
    https://lore.kernel.org/r/20220427101059.3bf55262@canb.auug.org.au ]
Signed-off-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/2f5c9cb16e3a67599c8e3170f6c72c8712c47d53.1650464054.git.thomas.lendacky@amd.com
parent 2bf93ffb
......@@ -13,7 +13,7 @@ Linux Virtualization Support
guest-halt-polling
ne_overview
acrn/index
coco/sevguest
coco/sev-guest
.. only:: html and subproject
......
......@@ -48,6 +48,6 @@ source "drivers/virt/nitro_enclaves/Kconfig"
source "drivers/virt/acrn/Kconfig"
source "drivers/virt/coco/sevguest/Kconfig"
source "drivers/virt/coco/sev-guest/Kconfig"
endif
......@@ -9,4 +9,4 @@ obj-y += vboxguest/
obj-$(CONFIG_NITRO_ENCLAVES) += nitro_enclaves/
obj-$(CONFIG_ACRN_HSM) += acrn/
obj-$(CONFIG_SEV_GUEST) += coco/sevguest/
obj-$(CONFIG_SEV_GUEST) += coco/sev-guest/
......@@ -11,4 +11,4 @@ config SEV_GUEST
userspace interface to communicate with the PSP to request the
attestation report and more.
If you choose 'M' here, this module will be called sevguest.
If you choose 'M' here, this module will be called sev-guest.
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_SEV_GUEST) += sevguest.o
obj-$(CONFIG_SEV_GUEST) += sev-guest.o
......@@ -25,7 +25,7 @@
#include <asm/svm.h>
#include <asm/sev.h>
#include "sevguest.h"
#include "sev-guest.h"
#define DEVICE_NAME "sev-guest"
#define AAD_LEN 48
......@@ -724,9 +724,9 @@ static int __exit sev_guest_remove(struct platform_device *pdev)
}
/*
* This driver is a common SEV guest interface driver and meant to support
* any SEV guest API. As such, even though it has been introduced along with
* the SEV-SNP support, it is named "sev-guest".
* This driver is meant to be a common SEV guest interface driver and to
* support any SEV guest API. As such, even though it has been introduced
* with the SEV-SNP support, it is named "sev-guest".
*/
static struct platform_driver sev_guest_driver = {
.remove = __exit_p(sev_guest_remove),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment