kvm: vmx: Fix typos comment in __loaded_vmcs_clear()
authorPeng Hao <flyingpeng@tencent.com>
Tue, 22 Feb 2022 10:40:29 +0000 (18:40 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Feb 2022 13:20:13 +0000 (08:20 -0500)
commit105e0c441aa4797e0240d3652ce8e69c6b308cb6
tree91365da608bf24760360e3c4f2940d033d520f44
parentfbc2dfe53a222619b01f451f5bfc206738d53854
kvm: vmx: Fix typos comment in __loaded_vmcs_clear()

Fix a comment documenting the memory barrier related to clearing a
loaded_vmcs; loaded_vmcs tracks the host CPU the VMCS is loaded on via
the field 'cpu', it doesn't have a 'vcpu' field.

Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Peng Hao <flyingpeng@tencent.com>
Message-Id: <20220222104029.70129-1-flyingpeng@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c