[PATCH 0/3] nSVM: Minor cleanups for intercepts code
From: Yosry Ahmed
Date: Mon Jan 12 2026 - 13:21:01 EST
A few minor cleanups for nested intercepts code, namely making
recalc_intercepts() more readable and renaming it, and using
vmcb12_is_intercept() instead of open-coding it.
Yosry Ahmed (3):
KVM: nSVM: Use intuitive local variables in recalc_intercepts()
KVM: nSVM: Rename recalc_intercepts() to clarify vmcb02 as the target
KVM: nSVM: Use vmcb12_is_intercept() in
nested_sync_control_from_vmcb02()
arch/x86/kvm/svm/nested.c | 37 ++++++++++++++++++-------------------
arch/x86/kvm/svm/sev.c | 2 +-
arch/x86/kvm/svm/svm.c | 4 ++--
arch/x86/kvm/svm/svm.h | 10 +++++-----
4 files changed, 26 insertions(+), 27 deletions(-)
--
2.52.0.457.g6b5491de43-goog