Re: [RFC 04/16] KVM: selftests: add library for creating/interacting with SEV guests

From: Michael Roth
Date: Wed Oct 06 2021 - 17:00:25 EST


On Wed, Oct 06, 2021 at 03:28:05PM -0500, Michael Roth wrote:
> Add interfaces to allow tests to create/manage SEV guests. The
> additional state associated with these guests is encapsulated in a new
> struct sev_vm, which is a light wrapper around struct kvm_vm. These
> VMs will use vm_set_memory_encryption() and vm_get_encrypted_phy_pages()
> under the covers to configure and sync up with the core kvm_util
> library on what should/shouldn't be treated as encrypted memory.
>
> Signed-off-by: Michael Roth <michael.roth@xxxxxxx>

Please ignore this patch, it is a dupe of 06/16. Some patches got caught in our
spam filter and I messed up the numbering when resending this. Hopefully now
all the patches are present.