Re: [PATCH v8 6/7] KVM: SEV: Perform RMP optimizations on SNP guest shutdown

From: Dave Hansen

Date: Thu Jun 18 2026 - 17:42:46 EST


On 6/15/26 12:50, Ashish Kalra wrote:
> From: Ashish Kalra <ashish.kalra@xxxxxxx>
>
> Pages are converted from shared to private as SNP guests are launched.
> This destroys exisiting RMPOPT optimizations in the regions where
> pages are converted.
>
> Conversely, guest pages are converted back to shared during SNP guest
> termination and their region may become eligible for RMPOPT
> optimization.

Oh, actually that would be good text for the *previous* patch too. You
might want to move some of it there.