mirror of https://gitee.com/openkylin/linux.git
KVM: nVMX: Use semi-colon instead of comma for exit-handlers initialization
Reviewed-by: Mark Kanda <mark.kanda@oracle.com> Signed-off-by: Liran Alon <liran.alon@oracle.com> Reviewed-by: Jim Mattson <jmattson@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
9a2ae9f6b6
commit
cc87767097
|
@ -6198,23 +6198,23 @@ __init int nested_vmx_hardware_setup(int (*exit_handlers[])(struct kvm_vcpu *))
|
|||
init_vmcs_shadow_fields();
|
||||
}
|
||||
|
||||
exit_handlers[EXIT_REASON_VMCLEAR] = handle_vmclear,
|
||||
exit_handlers[EXIT_REASON_VMLAUNCH] = handle_vmlaunch,
|
||||
exit_handlers[EXIT_REASON_VMPTRLD] = handle_vmptrld,
|
||||
exit_handlers[EXIT_REASON_VMPTRST] = handle_vmptrst,
|
||||
exit_handlers[EXIT_REASON_VMREAD] = handle_vmread,
|
||||
exit_handlers[EXIT_REASON_VMRESUME] = handle_vmresume,
|
||||
exit_handlers[EXIT_REASON_VMWRITE] = handle_vmwrite,
|
||||
exit_handlers[EXIT_REASON_VMOFF] = handle_vmoff,
|
||||
exit_handlers[EXIT_REASON_VMON] = handle_vmon,
|
||||
exit_handlers[EXIT_REASON_INVEPT] = handle_invept,
|
||||
exit_handlers[EXIT_REASON_INVVPID] = handle_invvpid,
|
||||
exit_handlers[EXIT_REASON_VMFUNC] = handle_vmfunc,
|
||||
exit_handlers[EXIT_REASON_VMCLEAR] = handle_vmclear;
|
||||
exit_handlers[EXIT_REASON_VMLAUNCH] = handle_vmlaunch;
|
||||
exit_handlers[EXIT_REASON_VMPTRLD] = handle_vmptrld;
|
||||
exit_handlers[EXIT_REASON_VMPTRST] = handle_vmptrst;
|
||||
exit_handlers[EXIT_REASON_VMREAD] = handle_vmread;
|
||||
exit_handlers[EXIT_REASON_VMRESUME] = handle_vmresume;
|
||||
exit_handlers[EXIT_REASON_VMWRITE] = handle_vmwrite;
|
||||
exit_handlers[EXIT_REASON_VMOFF] = handle_vmoff;
|
||||
exit_handlers[EXIT_REASON_VMON] = handle_vmon;
|
||||
exit_handlers[EXIT_REASON_INVEPT] = handle_invept;
|
||||
exit_handlers[EXIT_REASON_INVVPID] = handle_invvpid;
|
||||
exit_handlers[EXIT_REASON_VMFUNC] = handle_vmfunc;
|
||||
|
||||
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->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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue