KVM: x86: Fix some comment typos
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 6 Dec 2019 08:20:18 +0000 (16:20 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jan 2020 17:15:58 +0000 (18:15 +0100)
Fix some typos in comment.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/x86.c

index 35d3709..c19f3cc 100644 (file)
@@ -1529,7 +1529,7 @@ struct rmap_iterator {
 /*
  * Iteration must be started by this function.  This should also be used after
  * removing/dropping sptes from the rmap link because in such cases the
- * information in the itererator may not be valid.
+ * information in the iterator may not be valid.
  *
  * Returns sptep if found, NULL otherwise.
  */
index 16902d0..3051324 100644 (file)
@@ -9792,7 +9792,7 @@ static void kvm_mmu_slot_apply_flags(struct kvm *kvm,
         *
         * The reason is, in case of PML, we need to set D-bit for any slots
         * with dirty logging disabled in order to eliminate unnecessary GPA
-        * logging in PML buffer (and potential PML buffer full VMEXT). This
+        * logging in PML buffer (and potential PML buffer full VMEXIT). This
         * guarantees leaving PML enabled during guest's lifetime won't have
         * any additional overhead from PML when guest is running with dirty
         * logging disabled for memory slots.