]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
libxc/migration: Pass checkpoint information into the save algorithm.
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 14 May 2015 08:55:06 +0000 (16:55 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 14 May 2015 12:01:11 +0000 (13:01 +0100)
commite8193d116b19f4808fb9dd778061190752bc715c
tree01732170195114148c114e26be1d229f0a7eef64
parent0853659695532a744dd80cd64a942b00cf1aaf33
libxc/migration: Pass checkpoint information into the save algorithm.

The old code checks the callbacks "postcopy & checkpoint", if the
callbacks exists, it will call them. However this is unreliable, so
add this flag to explicitly indicate a checkpointed stream in the new
code. This is backward compatible with the legacy migration just don't
know this flag and will ignore it.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
CC: Yang Hongyang <yanghy@cn.fujitsu.com>
Acked-by: Ian Campbell <Ian.Campbell@citrix.com>
[ ijc -- added discussion of legacy compat ]
tools/libxc/include/xenguest.h
tools/libxc/xc_sr_common.h
tools/libxc/xc_sr_save.c
tools/libxl/libxl_dom.c