aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.c
diff options
context:
space:
mode:
authorTiejun Chen <tiejun.chen@intel.com>2014-09-21 22:31:38 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2014-09-24 08:07:53 -0400
commitb4619660635732bd2da376bb8f31f94d0f15fc98 (patch)
treece2d0c29aaac778aa35b1375232bb81876004ebe /arch/x86/kvm/mmu.c
parent4566654bb9be9e8864df417bb72ceee5136b6a6a (diff)
kvm: x86: fix two typos in comment
s/drity/dirty and s/vmsc01/vmcs01 Signed-off-by: Tiejun Chen <tiejun.chen@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r--arch/x86/kvm/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 045d592af1dd..bdd1acbab84d 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -1174,7 +1174,7 @@ static void drop_large_spte(struct kvm_vcpu *vcpu, u64 *sptep)
1174 * Write-protect on the specified @sptep, @pt_protect indicates whether 1174 * Write-protect on the specified @sptep, @pt_protect indicates whether
1175 * spte write-protection is caused by protecting shadow page table. 1175 * spte write-protection is caused by protecting shadow page table.
1176 * 1176 *
1177 * Note: write protection is difference between drity logging and spte 1177 * Note: write protection is difference between dirty logging and spte
1178 * protection: 1178 * protection:
1179 * - for dirty logging, the spte can be set to writable at anytime if 1179 * - for dirty logging, the spte can be set to writable at anytime if
1180 * its dirty bitmap is properly set. 1180 * its dirty bitmap is properly set.