]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Add support for KVM_SEV_SEND_CANCEL command
authorSteve Rutherford <srutherford@google.com>
Tue, 20 Apr 2021 09:01:20 +0000 (05:01 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 21 Apr 2021 16:20:04 +0000 (12:20 -0400)
commita16b8b6217c2d069449bf76f8d0dace5469a7fda
tree4aa5ae8c39930a69ba7a1be4aa14fd7a43d28dee
parent79d8048496dd247aacea4ab3e83f3a0f33c42cc4
KVM: SVM: Add support for KVM_SEV_SEND_CANCEL command

After completion of SEND_START, but before SEND_FINISH, the source VMM can
issue the SEND_CANCEL command to stop a migration. This is necessary so
that a cancelled migration can restart with a new target later.

Reviewed-by: Nathan Tempelman <natet@google.com>
Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Steve Rutherford <srutherford@google.com>
Message-Id: <20210412194408.2458827-1-srutherford@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virt/kvm/amd-memory-encryption.rst
arch/x86/kvm/svm/sev.c
drivers/crypto/ccp/sev-dev.c
include/linux/psp-sev.h
include/uapi/linux/kvm.h