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: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/2f5c9cb16e3a67599c8e3170f6c72c8712c47d53.1650464054.git.thomas.lendacky@amd.com
This commit is contained in:
Tom Lendacky 2022-04-20 09:14:14 -05:00 committed by Borislav Petkov
parent 2bf93ffbb9
commit d63670d23e
8 changed files with 9 additions and 9 deletions

View File

@ -13,7 +13,7 @@ Linux Virtualization Support
guest-halt-polling
ne_overview
acrn/index
coco/sevguest
coco/sev-guest
.. only:: html and subproject

View File

@ -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

View File

@ -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/

View File

@ -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.

View File

@ -1,2 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_SEV_GUEST) += sevguest.o
obj-$(CONFIG_SEV_GUEST) += sev-guest.o

View File

@ -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),