Re: [PATCH v1 22/26] KVM: SEV: Make AVIC backing, VMSA and VMCB memory allocation SNP safe
From: Michael Roth
Date: Thu Jan 25 2024 - 23:15:00 EST
On Sun, Jan 21, 2024 at 12:51:21PM +0100, Borislav Petkov wrote:
> On Sat, Dec 30, 2023 at 10:19:50AM -0600, Michael Roth wrote:
> > arch/x86/include/asm/kvm-x86-ops.h | 1 +
> > arch/x86/include/asm/kvm_host.h | 1 +
> > arch/x86/kvm/lapic.c | 5 ++++-
> > arch/x86/kvm/svm/nested.c | 2 +-
> > arch/x86/kvm/svm/sev.c | 32 ++++++++++++++++++++++++++++++
> > arch/x86/kvm/svm/svm.c | 17 +++++++++++++---
> > arch/x86/kvm/svm/svm.h | 1 +
> > 7 files changed, 54 insertions(+), 5 deletions(-)
>
> This one belongs in the second part, the KVM set.
If we enable the RMP table (the following patch) without this patch in
place, it can still cause crashes for legacy guests.
I'd moved it earlier into this part of the series based on Paolo's concerns
about that, so my hope was that he'd be willing to give it an Acked-by if
needed so it can go through your tree.
-Mike
>
> --
> Regards/Gruss,
> Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette