summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.c
diff options
context:
space:
mode:
authorTiejun Chen <tiejun.chen@intel.com>2014-09-22 04:31:38 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-09-24 14:07:53 +0200
commitb4619660635732bd2da376bb8f31f94d0f15fc98 (patch)
treece2d0c29aaac778aa35b1375232bb81876004ebe /arch/x86/kvm/mmu.c
parentKVM: vmx: Inject #GP on invalid PAT CR (diff)
downloadlinux-b4619660635732bd2da376bb8f31f94d0f15fc98.tar.xz
linux-b4619660635732bd2da376bb8f31f94d0f15fc98.zip
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)
* Write-protect on the specified @sptep, @pt_protect indicates whether
* spte write-protection is caused by protecting shadow page table.
*
- * Note: write protection is difference between drity logging and spte
+ * Note: write protection is difference between dirty logging and spte
* protection:
* - for dirty logging, the spte can be set to writable at anytime if
* its dirty bitmap is properly set.