diff options
author | Gavin Shan <gshan@redhat.com> | 2023-05-09 12:21:20 +1000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-05-18 08:53:50 +0200 |
commit | b20cc776922dcf6d97f431a3460e868a9ac3e89e (patch) | |
tree | dab0af01830e8e21a4b44173e2d9feec8204002e /include/sysemu/kvm_int.h | |
parent | 1e493be58708c3003d9e38b09eedf0134c0ca9fe (diff) | |
download | qemu-b20cc776922dcf6d97f431a3460e868a9ac3e89e.zip qemu-b20cc776922dcf6d97f431a3460e868a9ac3e89e.tar.gz qemu-b20cc776922dcf6d97f431a3460e868a9ac3e89e.tar.bz2 |
kvm: Synchronize the backup bitmap in the last stage
In the last stage of live migration or memory slot removal, the
backup bitmap needs to be synchronized when it has been enabled.
Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Tested-by: Zhenyu Zhang <zhenyzha@redhat.com>
Message-Id: <20230509022122.20888-3-gshan@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/sysemu/kvm_int.h')
-rw-r--r-- | include/sysemu/kvm_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/kvm_int.h b/include/sysemu/kvm_int.h index a641c97..511b42b 100644 --- a/include/sysemu/kvm_int.h +++ b/include/sysemu/kvm_int.h @@ -115,6 +115,7 @@ struct KVMState } *as; uint64_t kvm_dirty_ring_bytes; /* Size of the per-vcpu dirty ring */ uint32_t kvm_dirty_ring_size; /* Number of dirty GFNs per ring */ + bool kvm_dirty_ring_with_bitmap; struct KVMDirtyRingReaper reaper; NotifyVmexitOption notify_vmexit; uint32_t notify_window; |