diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2020-12-10 18:09:59 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-15 11:20:54 +0100 |
commit | 5265713a073754605108b3aba17619a0bbbae3c4 (patch) | |
tree | 8a775b1d11251b78b562198d642fadb09ff91a16 /drivers/iio/adc/ti-adc108s102.c | |
parent | KVM: SVM: Add support for CR8 write traps for an SEV-ES guest (diff) | |
download | linux-5265713a073754605108b3aba17619a0bbbae3c4.tar.xz linux-5265713a073754605108b3aba17619a0bbbae3c4.zip |
KVM: x86: Update __get_sregs() / __set_sregs() to support SEV-ES
Since many of the registers used by the SEV-ES are encrypted and cannot
be read or written, adjust the __get_sregs() / __set_sregs() to take into
account whether the VMSA/guest state is encrypted.
For __get_sregs(), return the actual value that is in use by the guest
for all registers being tracked using the write trap support.
For __set_sregs(), skip setting of all guest registers values.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <23051868db76400a9b07a2020525483a1e62dbcf.1607620209.git.thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/iio/adc/ti-adc108s102.c')
0 files changed, 0 insertions, 0 deletions