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

From: Sean Christopherson

Date: Tue Mar 10 2026 - 17:19:02 EST


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
--
2.53.0.473.g4a7958ca14-goog