[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174110881033.39974.12863767331940037606.b4-ty@google.com>
Date: Tue, 4 Mar 2025 17:05:17 -0800
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org, Xin Li <xin@...or.com>
Subject: Re: [PATCH] KVM: VMX: Extract checks on entry/exit control pairs to a
helper macro
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
Powered by blists - more mailing lists