aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kvm/mmu.c2
-rw-r--r--arch/x86/kvm/vmx.c2
2 files changed, 2 insertions, 2 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.
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 06746c0a3c70..bfe3022e60f1 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -8005,7 +8005,7 @@ static void vmx_start_preemption_timer(struct kvm_vcpu *vcpu)
8005/* 8005/*
8006 * prepare_vmcs02 is called when the L1 guest hypervisor runs its nested 8006 * prepare_vmcs02 is called when the L1 guest hypervisor runs its nested
8007 * L2 guest. L1 has a vmcs for L2 (vmcs12), and this function "merges" it 8007 * L2 guest. L1 has a vmcs for L2 (vmcs12), and this function "merges" it
8008 * with L0's requirements for its guest (a.k.a. vmsc01), so we can run the L2 8008 * with L0's requirements for its guest (a.k.a. vmcs01), so we can run the L2
8009 * guest in a way that will both be appropriate to L1's requests, and our 8009 * guest in a way that will both be appropriate to L1's requests, and our
8010 * needs. In addition to modifying the active vmcs (which is vmcs02), this 8010 * needs. In addition to modifying the active vmcs (which is vmcs02), this
8011 * function also has additional necessary side-effects, like setting various 8011 * function also has additional necessary side-effects, like setting various