Re: [PATCH] KVM: VMX: Extract checks on entry/exit control pairs to a helper macro
From: Sean Christopherson
Date: Tue Mar 04 2025 - 20:07:37 EST
On Wed, 26 Feb 2025 16:53:53 -0800, Sean Christopherson wrote:
> Extract the checking of entry/exit pairs to a helper macro so that the
> code can be reused to process the upcoming "secondary" exit controls (the
> primary exit controls field is out of bits). Use a macro instead of a
> function to support different sized variables (all secondary exit controls
> will be optional and so the MSR doesn't have the fixed-0/fixed-1 split).
> Taking the largest size as input is trivial, but handling the modification
> of KVM's to-be-used controls is much trickier, e.g. would require bitmap
> games to clear bits from a 32-bit bitmap vs. a 64-bit bitmap.
>
> [...]
Applied to kvm-x86 vmx, thanks!
[1/1] KVM: VMX: Extract checks on entry/exit control pairs to a helper macro
https://github.com/kvm-x86/linux/commit/0c3566b63de8
--
https://github.com/kvm-x86/linux/tree/next