]> git.proxmox.com Git - mirror_qemu.git/commit - migration/ram.c
migration: move calling control_save_page to the common place
authorXiao Guangrong <xiaoguangrong@tencent.com>
Fri, 30 Mar 2018 07:51:25 +0000 (15:51 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 25 Apr 2018 17:04:10 +0000 (18:04 +0100)
commita8ec91f941c5f83123796331c09333d3557eb5fc
treed400ae85732bc694dd15de7beee039dea1e04a20
parent1faa5665c0f1df2eff291454a3a85625a3bc93dd
migration: move calling control_save_page to the common place

The function is called by both ram_save_page and ram_save_target_page,
so move it to the common caller to cleanup the code

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com>
Message-Id: <20180330075128.26919-8-xiaoguangrong@tencent.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/ram.c