Re: [PATCH v4 0/9] KVM: SVM: Fixes for VMCB12 checks and mapping
From: Yosry Ahmed
Date: Fri Apr 03 2026 - 17:46:35 EST
> > Yosry Ahmed (9):
> > KVM: SVM: Properly check RAX in the emulator for SVM instructions
> > KVM: SVM: Refactor SVM instruction handling on #GP intercept
> > KVM: SVM: Properly check RAX on #GP intercept of SVM instructions
> > KVM: SVM: Move RAX legality check to SVM insn interception handlers
> > KVM: SVM: Check EFER.SVME and CPL on #GP intercept of SVM instructions
> > KVM: SVM: Treat mapping failures equally in VMLOAD/VMSAVE emulation
> > KVM: nSVM: Fail emulation of VMRUN/VMLOAD/VMSAVE if mapping vmcb12
> > fails
> > KVM: selftests: Rework svm_nested_invalid_vmcb12_gpa
> > KVM: selftests: Drop 'invalid' from svm_nested_invalid_vmcb12_gpa's
> > name
>
> Some nits and suggestsions, but I can clean them up when applying. I'm leaning
> strongly toward applying this for 7.1 even though it's super late in the cycle,
> as there's very little risk (e.g. compared to the gPTA or host/guest PMU series),
> and getting the VCPU_REGS_RAX landed would make my life easier for 7.2.
Thank you!