Re: [PATCH v8 07/20] KVM: VMX: Refactor register index retrieval from exit qualification

From: Jim Mattson

Date: Thu Nov 05 2026 - 19:22:36 EST


On Wed, Sep 30, 2026 at 2:36 PM Chang S. Bae <chang.seok.bae@xxxxxxxxx> wrote:
>
> Introduce a helper to extract the register index from the VMX exit
> qualification field.
>
> In addition to the VMX instruction information field, exit qualification
> also encodes a register index. This field will expand into the previously
> reserved bit for extended register IDs. This refactoring will simplify
> the extended register handling without code duplication.
>
> No functional change intended.
>
> Tested-by: Zhao Liu <zhao1.liu@xxxxxxxxx>
> Signed-off-by: Chang S. Bae <chang.seok.bae@xxxxxxxxx>
Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>