lkml.org 
[lkml]   [2020]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3 4/9] KVM: VMX: Configure runtime hooks using vmx_x86_ops
From
Date
On 23/03/20 13:27, Vitaly Kuznetsov wrote:
>> - kvm_x86_ops->check_nested_events = vmx_check_nested_events;
>> - kvm_x86_ops->get_nested_state = vmx_get_nested_state;
>> - kvm_x86_ops->set_nested_state = vmx_set_nested_state;
>> - kvm_x86_ops->get_vmcs12_pages = nested_get_vmcs12_pages;
>> - kvm_x86_ops->nested_enable_evmcs = nested_enable_evmcs;
>> - kvm_x86_ops->nested_get_evmcs_version = nested_get_evmcs_version;
>> + ops->check_nested_events = vmx_check_nested_events;
>> + ops->get_nested_state = vmx_get_nested_state;
>> + ops->set_nested_state = vmx_set_nested_state;
>> + ops->get_vmcs12_pages = nested_get_vmcs12_pages;
>> + ops->nested_enable_evmcs = nested_enable_evmcs;
>> + ops->nested_get_evmcs_version = nested_get_evmcs_version;
>
> A lazy guy like me would appreciate 'ops' -> 'vmx_x86_ops' rename as it
> would make 'git grep vmx_x86_ops' output more complete.
>

I would prefer even more a kvm_x86_ops.nested struct but I would be okay
with a separate patch.

Paolo

\
 
 \ /
  Last update: 2020-03-23 21:01    [W:0.076 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site