libxc/restore: support COLO restore
authorWen Congyang <wency@cn.fujitsu.com>
Wed, 15 Jul 2015 09:18:44 +0000 (17:18 +0800)
committerChanglong Xie <xiecl.fnst@cn.fujitsu.com>
Fri, 1 Apr 2016 03:07:29 +0000 (11:07 +0800)
commitf8c8727d257722b6c461b8e588438389f4464865
tree7041844789c9811e2f89cfbcaab52d7ee2d028e7
parent72f4c0aef01f0e6fdb4ae74a09ba674f7637e062
libxc/restore: support COLO restore

a. call callbacks resume/checkpoint/suspend while secondary vm
   status is consistent with primary
b. send dirty pfn list to primary when checkpoint under colo
c. send store gfn and console gfn to xl before resuming secondary vm

Signed-off-by: Yang Hongyang <hongyang.yang@easystack.cn>
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Changlong Xie <xiecl.fnst@cn.fujitsu.com>
CC: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/include/xenguest.h
tools/libxc/xc_sr_common.h
tools/libxc/xc_sr_restore.c
tools/libxl/libxl_colo_restore.c
tools/libxl/libxl_create.c
tools/libxl/libxl_save_msgs_gen.pl