diff options
Diffstat (limited to 'drivers/kvm')
-rw-r--r-- | drivers/kvm/kvm_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index be7694db285d..e48b4d7a350e 100644 --- a/drivers/kvm/kvm_main.c +++ b/drivers/kvm/kvm_main.c | |||
@@ -748,6 +748,8 @@ raced: | |||
748 | vcpu = vcpu_load_slot(kvm, i); | 748 | vcpu = vcpu_load_slot(kvm, i); |
749 | if (!vcpu) | 749 | if (!vcpu) |
750 | continue; | 750 | continue; |
751 | if (new.flags & KVM_MEM_LOG_DIRTY_PAGES) | ||
752 | do_remove_write_access(vcpu, mem->slot); | ||
751 | kvm_mmu_reset_context(vcpu); | 753 | kvm_mmu_reset_context(vcpu); |
752 | vcpu_put(vcpu); | 754 | vcpu_put(vcpu); |
753 | } | 755 | } |