OSDN Git Service

kvm: introduce memory encryption APIs
authorBrijesh Singh <brijesh.singh@amd.com>
Thu, 8 Mar 2018 12:48:46 +0000 (06:48 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Mar 2018 11:04:03 +0000 (12:04 +0100)
commit54e89539670e904b0d4f0993abeb92f641c60436
treea698d1deef86da325b1023a77dc3cfd2ac8d4a48
parentb20e37801fc4a94ba40737541710c29c923e1c48
kvm: introduce memory encryption APIs

Inorder to integerate the Secure Encryption Virtualization (SEV) support
add few high-level memory encryption APIs which can be used for encrypting
the guest memory region.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c
accel/kvm/sev-stub.c
accel/stubs/kvm-stub.c
include/sysemu/kvm.h
include/sysemu/sev.h