tools: libxc: fix Remus failover regression
authorYang Hongyang <yanghy@cn.fujitsu.com>
Mon, 28 Jul 2014 04:03:27 +0000 (12:03 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 21 Aug 2014 22:29:18 +0000 (23:29 +0100)
commitca0354f90a25be9f4e31dafe6e37b012bb2de7ac
tree76653f672bffe142448acba7992b1f1929ebe866
parentfe47fa71394dd9147593d823726451d48ba1fc92
tools: libxc: fix Remus failover regression

commit: c2ba706c "tools/libxc: goto correct label on error paths" by Andrew
Cooper broke Remus in Xen 4.4 or earlier versions that has this commit
backported.

With Remus, this jump essentially discards the current incomplete checkpoint
received by the backup and restore backup from the last complete checkpoint.
This is required for Remus to work and this does not break live migration.  It
has been around since Xen 4.0.

CC: Ian Jackson <ian.jackson@eu.citrix.com>
CC: Ian Campbell <ian.campbell@citrix.com>
CC: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Shriram Rajagopalan <rshriram@cs.ubc.ca>
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Acked-by: Shriram Rajagopalan <rshriram@cs.ubc.ca>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_domain_restore.c