Skip to content

KVM: SEV: Fix a CR8 intercept goof with SEV-ES guests

Sean Christopherson kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: SEV: Don't set CR8 write intercept when disabling AVIC for SEV-ES guestsarch/x86/kvm/svm/avic.c+2 -11 reply
2/2KVM: selftests: Verify SEV+ guests can read and write EFER, CR0, CR4, and CR8tools/testing/selftests/kvm/include/x86/processor.h tools/testing/selftests/kvm/x86/sev_smoke_test.c+53 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchNaveen N Rao (AMD)Srikanth Aithal
1/2A-b T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: SEV: Fix a CR8 intercept goof with SEV-ES guests

Fix a recently introduced bug where KVM incorrectly enables CR8 write interception when inhibiting AVIC for SEV-ES guests, and extend the SEV+ smoke selftest to guard against similar goofs in the future.

Sean Christopherson (2):
KVM: SEV: Don't set CR8 write intercept when disabling AVIC for SEV-ES
guests
KVM: selftests: Verify SEV+ guests can read and write EFER, CR0, CR4,
and CR8

 arch/x86/kvm/svm/avic.c                       |  3 +-
 .../selftests/kvm/include/x86/processor.h     | 23 ++++++++++++++
 .../selftests/kvm/x86/sev_smoke_test.c        | 30 +++++++++++++++++++
 3 files changed, 55 insertions(+), 1 deletion(-)

base-commit: 3271085a7f1030ba9897cab60452acd370423ff1

Signature · 1 line
2.53.0.473.g4a7958ca14-goog