aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index a2154487917d..9c980ce26e61 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -4087,7 +4087,7 @@ int emulator_write_phys(struct kvm_vcpu *vcpu, gpa_t gpa,
4087 ret = kvm_write_guest(vcpu->kvm, gpa, val, bytes); 4087 ret = kvm_write_guest(vcpu->kvm, gpa, val, bytes);
4088 if (ret < 0) 4088 if (ret < 0)
4089 return 0; 4089 return 0;
4090 kvm_mmu_pte_write(vcpu, gpa, val, bytes, 1); 4090 kvm_mmu_pte_write(vcpu, gpa, val, bytes);
4091 return 1; 4091 return 1;
4092} 4092}
4093 4093
@@ -4324,7 +4324,7 @@ static int emulator_cmpxchg_emulated(struct x86_emulate_ctxt *ctxt,
4324 if (!exchanged) 4324 if (!exchanged)
4325 return X86EMUL_CMPXCHG_FAILED; 4325 return X86EMUL_CMPXCHG_FAILED;
4326 4326
4327 kvm_mmu_pte_write(vcpu, gpa, new, bytes, 1); 4327 kvm_mmu_pte_write(vcpu, gpa, new, bytes);
4328 4328
4329 return X86EMUL_CONTINUE; 4329 return X86EMUL_CONTINUE;
4330 4330