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)
commited7023a11bd820fca50e61911a670ddf3e01f73f
treec2bceb662284d05cb3dc4c5884e125d65dba56bd
parenteb7511bf9182292ef1df1082d23039e856d1ddfb
KVM: nVMX: fix comments of handle_vmon()

"VMXON pointer" is saved in vmx->nested.vmxon_ptr since
commit 3573e22cfeca ("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