Re: [RFC] KVM: mm: fd-based approach for supporting KVM guest private memory

From: Joerg Roedel
Date: Thu Sep 02 2021 - 06:18:24 EST


On Wed, Sep 01, 2021 at 10:08:33AM -0700, Andy Lutomirski wrote:
> I asked David, and he said the PSP offers a swapping mechanism for
> SEV-ES. I haven’t read the details, but they should all be public.

Right, the details are here:

https://www.amd.com/system/files/TechDocs/55766_SEV-KM_API_Specification.pdf

Namely section 6.25 and 6.26 which describe the SWAP_OUT and SWAP_IN
commands.

Regards,

Joerg