summaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2020-12-10 11:09:55 -0600
committerPaolo Bonzini <pbonzini@redhat.com>2020-12-15 05:20:51 -0500
commit2985afbcdbb1957a8d31992cebbc4e49d2ad8a77 (patch)
tree6a32b45ea038b564ec4f1d31c90e3ef0a778e86f /arch/arc
parent7ed9abfe8e9f62384f9b11c9fca19e551dbec5bd (diff)
KVM: SVM: Add support for EFER write traps for an SEV-ES guest
For SEV-ES guests, the interception of EFER write access is not recommended. EFER interception occurs prior to EFER being modified and the hypervisor is unable to modify EFER itself because the register is located in the encrypted register state. SEV-ES support introduces a new EFER write trap. This trap provides intercept support of an EFER write after it has been modified. The new EFER value is provided in the VMCB EXITINFO1 field, allowing the hypervisor to track the setting of the guest EFER. Add support to track the value of the guest EFER value using the EFER write trap so that the hypervisor understands the guest operating mode. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Message-Id: <8993149352a3a87cd0625b3b61bfd31ab28977e1.1607620209.git.thomas.lendacky@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions