Re: [PATCH 1/2] x86, KVM:SVM: Move sev specific parsing into arch/x86/virt/svm

From: Tom Lendacky
Date: Fri Aug 02 2024 - 10:18:41 EST


On 8/1/24 15:56, Pavan Kumar Paluri wrote:
> Move SEV specific kernel command line option parsing support from
> arch/x86/coco/sev/core.c to arch/x86/virt/svm/cmdline.c so that both
> host and guest related SEV command line options can be supported.
>
> No functional changes intended.
>
> Signed-off-by: Pavan Kumar Paluri <papaluri@xxxxxxx>

Reviewed-by: Tom Lendacky <thomas.lendacky@xxxxxxx>

> ---
> arch/x86/coco/sev/core.c | 44 -------------------------------
> arch/x86/include/asm/sev-common.h | 27 +++++++++++++++++++
> arch/x86/virt/svm/Makefile | 1 +
> arch/x86/virt/svm/cmdline.c | 32 ++++++++++++++++++++++
> 4 files changed, 60 insertions(+), 44 deletions(-)
> create mode 100644 arch/x86/virt/svm/cmdline.c
>