Commit 0a03cbda authored by Miaohe Lin's avatar Miaohe Lin Committed by Paolo Bonzini

KVM: x86: Fix some comment typos

Fix some typos in comment.
Signed-off-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 150a84fe
...@@ -1529,7 +1529,7 @@ struct rmap_iterator { ...@@ -1529,7 +1529,7 @@ struct rmap_iterator {
/* /*
* Iteration must be started by this function. This should also be used after * 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 * 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. * Returns sptep if found, NULL otherwise.
*/ */
......
...@@ -9792,7 +9792,7 @@ static void kvm_mmu_slot_apply_flags(struct kvm *kvm, ...@@ -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 * 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 * 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 * guarantees leaving PML enabled during guest's lifetime won't have
* any additional overhead from PML when guest is running with dirty * any additional overhead from PML when guest is running with dirty
* logging disabled for memory slots. * logging disabled for memory slots.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment