]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: fix comments of handle_vmon()
authorYu Zhang <yu.c.zhang@linux.intel.com>
Wed, 8 Sep 2021 17:17:31 +0000 (01:17 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Sep 2021 14:33:09 +0000 (10:33 -0400)
commitba42ce8d31ca8fbc9589e518c76ffc83c6d4fd1f
treec2bceb662284d05cb3dc4c5884e125d65dba56bd
parent1b4021bf86eefb2fbd9d2bae6c3d4496ec786212
KVM: nVMX: fix comments of handle_vmon()

"VMXON pointer" is saved in vmx->nested.vmxon_ptr since
commit c9ccb14eae60 ("KVM: nVMX: additional checks on
vmxon region"). Also, handle_vmptrld() & handle_vmclear()
now have logic to check the VMCS pointer against the VMXON
pointer.

So just remove the obsolete comments of handle_vmon().

Signed-off-by: Yu Zhang <yu.c.zhang@linux.intel.com>
Message-Id: <20210908171731.18885-1-yu.c.zhang@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c