diff options
author | Sean Christopherson <[email protected]> | 2021-09-14 14:09:50 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-09-22 10:33:11 -0400 |
commit | 50c038018d6be20361e8a2890262746a4ac5b11f (patch) | |
tree | 792de9e65c26956fc4708e493f1a2d56e29960cb /tools/perf/util/trace-event-scripting.c | |
parent | f1815e0aa770f2127c5df31eb5c2f0e37b60fa77 (diff) |
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: [email protected]
Cc: Peter Gonda <[email protected]>
Cc: Marc Orr <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Brijesh Singh <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Brijesh Singh <[email protected]>
Reviewed-by: Peter Gonda <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions