Re: [PATCH v12 18/29] KVM: SEV: Use a VMSA physical address variable for populating VMCB

From: Paolo Bonzini
Date: Sat Mar 30 2024 - 17:01:55 EST


On 3/29/24 23:58, Michael Roth wrote:
From: Tom Lendacky<thomas.lendacky@xxxxxxx>

In preparation to support SEV-SNP AP Creation, use a variable that holds
the VMSA physical address rather than converting the virtual address.
This will allow SEV-SNP AP Creation to set the new physical address that
will be used should the vCPU reset path be taken.

Signed-off-by: Tom Lendacky<thomas.lendacky@xxxxxxx>
Signed-off-by: Ashish Kalra<ashish.kalra@xxxxxxx>
Signed-off-by: Michael Roth<michael.roth@xxxxxxx>
---

I'll get back to this one after Easter, but it looks like Sean had some objections at https://lore.kernel.org/lkml/ZeCqnq7dLcJI41O9@xxxxxxxxxx/.

Paolo