Re: [PATCH 4/4] kvm: svm: Support KVM_SEV_SNP_PAGE_TYPE_VMSA at SNP_LAUNCH_UPDATE

From: Sean Christopherson

Date: Wed Jun 17 2026 - 09:42:27 EST


On Wed, Jun 17, 2026, Jörg Rödel wrote:
> On Wed, Jun 17, 2026 at 06:00:39AM -0700, Sean Christopherson wrote:
> > On Wed, Jun 17, 2026, Jörg Rödel wrote:
> > > (which has happened a couple of times already).
> >
> > Examples? The SEV features thing jumps to mind, but I don't recall any others
> > off the top of my head.
>
> I was referring to KVM-induced changes to SEV features, but thought this
> happened more than once?

Ok, so it took us a few times to learn our lesson. I still don't see that as a
strong argument for new uAPI, especially not for VMSA pages. I am very firmly
of the opinion that letting anything but the host kernel configure the VMSA is
beyond stupid, but unfortunately we're stuck with AP_CREATION. Expanding that
surface has a very, very, VERY high bar to get over.