On 2021-12-10 09:43:09 -0600, Brijesh Singh wrote: > The save area for SEV-ES/SEV-SNP guests, as used by the hardware, is > different from the save area of a non SEV-ES/SEV-SNP guest. > > This is the first step in defining the multiple save areas to keep them > separate and ensuring proper operation amongst the different types of > guests. Create an SEV-ES/SEV-SNP save area and adjust usage to the new > save area definition where needed. > > Signed-off-by: Tom Lendacky <thomas.lendacky@xxxxxxx> > Signed-off-by: Brijesh Singh <brijesh.singh@xxxxxxx> Reviewed-by: Venu Busireddy <venu.busireddy@xxxxxxxxxx> > --- > arch/x86/include/asm/svm.h | 83 +++++++++++++++++++++++++++++--------- > arch/x86/kvm/svm/sev.c | 24 +++++------ > arch/x86/kvm/svm/svm.h | 2 +- > 3 files changed, 77 insertions(+), 32 deletions(-) >