aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index af546b768ffd..917a287d21c8 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -3546,7 +3546,7 @@ int kvm_vm_ioctl_get_dirty_log(struct kvm *kvm,
3546 memslot = &slots->memslots[log->slot]; 3546 memslot = &slots->memslots[log->slot];
3547 memslot->dirty_bitmap = dirty_bitmap; 3547 memslot->dirty_bitmap = dirty_bitmap;
3548 memslot->nr_dirty_pages = 0; 3548 memslot->nr_dirty_pages = 0;
3549 slots->generation++; 3549 update_memslots(slots, NULL);
3550 3550
3551 old_slots = kvm->memslots; 3551 old_slots = kvm->memslots;
3552 rcu_assign_pointer(kvm->memslots, slots); 3552 rcu_assign_pointer(kvm->memslots, slots);