]> git.ipfire.org Git - thirdparty/qemu.git/commit
ram/COLO: Record the dirty pages that SVM received
authorZhang Chen <zhangckid@gmail.com>
Mon, 3 Sep 2018 04:38:49 +0000 (12:38 +0800)
committerJason Wang <jasowang@redhat.com>
Fri, 19 Oct 2018 03:15:03 +0000 (11:15 +0800)
commit7d9acafa2cc094d03f46abc522786a1696983639
treefde68fb48718623b06ae1cd62b8f02cf7ea54ad6
parent13af18f2228892d19d40ff96672677d168da7e9e
ram/COLO: Record the dirty pages that SVM received

We record the address of the dirty pages that received,
it will help flushing pages that cached into SVM.

Here, it is a trick, we record dirty pages by re-using migration
dirty bitmap. In the later patch, we will start the dirty log
for SVM, just like migration, in this way, we can record both
the dirty pages caused by PVM and SVM, we only flush those dirty
pages from RAM cache while do checkpoint.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Zhang Chen <zhangckid@gmail.com>
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
migration/ram.c