]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: VMX: Fix comment of handle_vmx_instruction()
authorGao Shiyuan <gaoshiyuan@baidu.com>
Fri, 3 Jan 2025 15:38:14 +0000 (23:38 +0800)
committerSean Christopherson <seanjc@google.com>
Wed, 8 Jan 2025 22:12:31 +0000 (14:12 -0800)
commit4d141e444e26f12c1bacfc39f66ab8de04deac1b
tree9a5c5c03f7571887f4eace66704c9598f27e3cc0
parentb5fd06847320bed445fc1e77f9066ecdaf1efbec
KVM: VMX: Fix comment of handle_vmx_instruction()

Fix a goof in handle_vmx_instruction()'s comment where it references the
non-existent nested_vmx_setup(); the function that overwrites the exit
handlers is nested_vmx_hardware_setup().

Note, this isn't a case of a stale comment, e.g. due to the function being
renamed.  The comment has always been wrong.

Fixes: e4027cfafd78 ("KVM: nVMX: Set callbacks for nested functions during hardware setup")
Signed-off-by: Gao Shiyuan <gaoshiyuan@baidu.com>
Link: https://lore.kernel.org/r/20250103153814.73903-1-gaoshiyuan@baidu.com
[sean: massage changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/vmx.c