Re: [PATCH v2 3/5] KVM: nVMX: Rename vmcs_to_field_offset{,_table}

From: Sean Christopherson
Date: Fri Jan 07 2022 - 18:11:29 EST


On Fri, Jan 07, 2022, Vitaly Kuznetsov wrote:
> vmcs_to_field_offset{,_table} may sound misleading as VMCS is an opaque
> blob which is not supposed to be accessed directly. In fact,
> vmcs_to_field_offset{,_table} are related to KVM defined VMCS12 structure.
>
> Rename vmcs_field_to_offset() to get_vmcs12_field_offset() for clarity.
>
> No functional change intended.
>
> Signed-off-by: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>
> ---

Reviewed-by: Sean Christopherson <seanjc@xxxxxxxxxx>