Skip to content

Commit cc87767

Browse files
Liran Alonbonzini
authored andcommitted
KVM: nVMX: Use semi-colon instead of comma for exit-handlers initialization
Reviewed-by: Mark Kanda <[email protected]> Signed-off-by: Liran Alon <[email protected]> Reviewed-by: Jim Mattson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 9a2ae9f commit cc87767

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

arch/x86/kvm/vmx/nested.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6198,23 +6198,23 @@ __init int nested_vmx_hardware_setup(int (*exit_handlers[])(struct kvm_vcpu *))
61986198
init_vmcs_shadow_fields();
61996199
}
62006200

6201-
exit_handlers[EXIT_REASON_VMCLEAR] = handle_vmclear,
6202-
exit_handlers[EXIT_REASON_VMLAUNCH] = handle_vmlaunch,
6203-
exit_handlers[EXIT_REASON_VMPTRLD] = handle_vmptrld,
6204-
exit_handlers[EXIT_REASON_VMPTRST] = handle_vmptrst,
6205-
exit_handlers[EXIT_REASON_VMREAD] = handle_vmread,
6206-
exit_handlers[EXIT_REASON_VMRESUME] = handle_vmresume,
6207-
exit_handlers[EXIT_REASON_VMWRITE] = handle_vmwrite,
6208-
exit_handlers[EXIT_REASON_VMOFF] = handle_vmoff,
6209-
exit_handlers[EXIT_REASON_VMON] = handle_vmon,
6210-
exit_handlers[EXIT_REASON_INVEPT] = handle_invept,
6211-
exit_handlers[EXIT_REASON_INVVPID] = handle_invvpid,
6212-
exit_handlers[EXIT_REASON_VMFUNC] = handle_vmfunc,
6201+
exit_handlers[EXIT_REASON_VMCLEAR] = handle_vmclear;
6202+
exit_handlers[EXIT_REASON_VMLAUNCH] = handle_vmlaunch;
6203+
exit_handlers[EXIT_REASON_VMPTRLD] = handle_vmptrld;
6204+
exit_handlers[EXIT_REASON_VMPTRST] = handle_vmptrst;
6205+
exit_handlers[EXIT_REASON_VMREAD] = handle_vmread;
6206+
exit_handlers[EXIT_REASON_VMRESUME] = handle_vmresume;
6207+
exit_handlers[EXIT_REASON_VMWRITE] = handle_vmwrite;
6208+
exit_handlers[EXIT_REASON_VMOFF] = handle_vmoff;
6209+
exit_handlers[EXIT_REASON_VMON] = handle_vmon;
6210+
exit_handlers[EXIT_REASON_INVEPT] = handle_invept;
6211+
exit_handlers[EXIT_REASON_INVVPID] = handle_invvpid;
6212+
exit_handlers[EXIT_REASON_VMFUNC] = handle_vmfunc;
62136213

62146214
kvm_x86_ops->check_nested_events = vmx_check_nested_events;
62156215
kvm_x86_ops->get_nested_state = vmx_get_nested_state;
62166216
kvm_x86_ops->set_nested_state = vmx_set_nested_state;
6217-
kvm_x86_ops->get_vmcs12_pages = nested_get_vmcs12_pages,
6217+
kvm_x86_ops->get_vmcs12_pages = nested_get_vmcs12_pages;
62186218
kvm_x86_ops->nested_enable_evmcs = nested_enable_evmcs;
62196219
kvm_x86_ops->nested_get_evmcs_version = nested_get_evmcs_version;
62206220

0 commit comments

Comments
 (0)