summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-09-15 00:09:50 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2021-09-22 17:33:11 +0300
commit50c038018d6be20361e8a2890262746a4ac5b11f (patch)
tree792de9e65c26956fc4708e493f1a2d56e29960cb /samples
parentf1815e0aa770f2127c5df31eb5c2f0e37b60fa77 (diff)
downloadlinux-50c038018d6be20361e8a2890262746a4ac5b11f.tar.xz
KVM: SEV: Pin guest memory for write for RECEIVE_UPDATE_DATA
Require the target guest page to be writable when pinning memory for RECEIVE_UPDATE_DATA. Per the SEV API, the PSP writes to guest memory: The result is then encrypted with GCTX.VEK and written to the memory pointed to by GUEST_PADDR field. Fixes: 15fb7de1a7f5 ("KVM: SVM: Add KVM_SEV_RECEIVE_UPDATE_DATA command") Cc: stable@vger.kernel.org Cc: Peter Gonda <pgonda@google.com> Cc: Marc Orr <marcorr@google.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Brijesh Singh <brijesh.singh@amd.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210914210951.2994260-2-seanjc@google.com> Reviewed-by: Brijesh Singh <brijesh.singh@amd.com> Reviewed-by: Peter Gonda <pgonda@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions