diff options
| -rw-r--r-- | arch/x86/kvm/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index d43867c33bc4..209fe1477465 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c | |||
| @@ -4238,7 +4238,7 @@ void kvm_mmu_pte_write(struct kvm_vcpu *vcpu, gpa_t gpa, | |||
| 4238 | ++vcpu->kvm->stat.mmu_pte_write; | 4238 | ++vcpu->kvm->stat.mmu_pte_write; |
| 4239 | kvm_mmu_audit(vcpu, AUDIT_PRE_PTE_WRITE); | 4239 | kvm_mmu_audit(vcpu, AUDIT_PRE_PTE_WRITE); |
| 4240 | 4240 | ||
| 4241 | mask.cr0_wp = mask.cr4_pae = mask.nxe = 1; | 4241 | mask.cr0_wp = mask.cr4_pae = mask.nxe = mask.smep_andnot_wp = 1; |
| 4242 | for_each_gfn_indirect_valid_sp(vcpu->kvm, sp, gfn) { | 4242 | for_each_gfn_indirect_valid_sp(vcpu->kvm, sp, gfn) { |
| 4243 | if (detect_write_misaligned(sp, gpa, bytes) || | 4243 | if (detect_write_misaligned(sp, gpa, bytes) || |
| 4244 | detect_write_flooding(sp)) { | 4244 | detect_write_flooding(sp)) { |
