History

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.

Steve Rutherford committed 5 years ago

Commit 5569e2e1 parent fddecf65 files · +45 −0Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/linux/kvm.h+2−0
@@ -1674,6 +1674,8 @@ enum sev_cmd_id { · 1673 unmodified lines
1674 KVM_SEV_CERT_EXPORT,1674 KVM_SEV_CERT_EXPORT,
1675 /* Attestation report */1675 /* Attestation report */
1676 KVM_SEV_GET_ATTESTATION_REPORT,1676 KVM_SEV_GET_ATTESTATION_REPORT,
1677 /* Guest Migration Extension */
1678 KVM_SEV_SEND_CANCEL,
1677 1679
1678 KVM_SEV_NR_MAX,1680 KVM_SEV_NR_MAX,
1679};1681};