]> Git Repo - linux.git/commit
KVM, SEV: Add KVM_EXIT_SHUTDOWN metadata for SEV-ES
authorPeter Gonda <[email protected]>
Thu, 7 Apr 2022 21:02:33 +0000 (14:02 -0700)
committerPaolo Bonzini <[email protected]>
Wed, 13 Apr 2022 17:37:46 +0000 (13:37 -0400)
commitc24a950ec7d60c4da91dc3f273295c7f438b531e
tree826747f1331d720dca6b8677fc46e56069b7f6a7
parent9bd1f0efa859b61950d109b32ff8d529cc33a3ad
KVM, SEV: Add KVM_EXIT_SHUTDOWN metadata for SEV-ES

If an SEV-ES guest requests termination, exit to userspace with
KVM_EXIT_SYSTEM_EVENT and a dedicated SEV_TERM type instead of -EINVAL
so that userspace can take appropriate action.

See AMD's GHCB spec section '4.1.13 Termination Request' for more details.

Suggested-by: Sean Christopherson <[email protected]>
Suggested-by: Paolo Bonzini <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Peter Gonda <[email protected]>
Reported-by: kernel test robot <[email protected]>
Message-Id: <20220407210233[email protected]>
[Add documentatino. - Paolo]
Signed-off-by: Paolo Bonzini <[email protected]>
Documentation/virt/kvm/api.rst
arch/x86/kvm/svm/sev.c
include/uapi/linux/kvm.h
This page took 0.060765 seconds and 4 git commands to generate.