summaryrefslogtreecommitdiffstats
path: root/hw/timer
diff options
context:
space:
mode:
authorZhang Chen2018-09-03 06:38:54 +0200
committerJason Wang2018-10-19 05:15:03 +0200
commit3f6df99d9dc8ce33deae1835e96e659063fa3037 (patch)
tree578f2bbbc083d669a10b5ce4dd77f4952d19b0b8 /hw/timer
parentqapi: Add new command to query colo status (diff)
downloadqemu-3f6df99d9dc8ce33deae1835e96e659063fa3037.tar.gz
qemu-3f6df99d9dc8ce33deae1835e96e659063fa3037.tar.xz
qemu-3f6df99d9dc8ce33deae1835e96e659063fa3037.zip
savevm: split the process of different stages for loadvm/savevm
There are several stages during loadvm/savevm process. In different stage, migration incoming processes different types of sections. We want to control these stages more accuracy, it will benefit COLO performance, we don't have to save type of QEMU_VM_SECTION_START sections everytime while do checkpoint, besides, we want to separate the process of saving/loading memory and devices state. So we add three new helper functions: qemu_load_device_state() and qemu_savevm_live_state() to achieve different process during migration. Besides, we make qemu_loadvm_state_main() and qemu_save_device_state() public, and simplify the codes of qemu_save_device_state() by calling the wrapper qemu_savevm_state_header(). Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.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>
Diffstat (limited to 'hw/timer')
0 files changed, 0 insertions, 0 deletions