]> git.proxmox.com Git - mirror_qemu.git/commit
kvm: clear dirty bitmaps from all overlapping memslots
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 24 Sep 2019 14:47:49 +0000 (10:47 -0400)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 30 Sep 2019 11:51:50 +0000 (13:51 +0200)
commit84516e5b8db66b8a169a8fdd4c25568ed0b67a3a
tree575e9923d9e06a1fc09d73d7139eb8e673b01f49
parent4222147dfb7229de36d8cc8c9fa3543b43347241
kvm: clear dirty bitmaps from all overlapping memslots

Currently MemoryRegionSection has 1:1 mapping to KVMSlot.
However next patch will allow splitting MemoryRegionSection into
several KVMSlot-s, make sure that kvm_physical_log_slot_clear()
is able to handle such 1:N mapping.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20190924144751.24149-3-imammedo@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
accel/kvm/kvm-all.c