[CRIU] [PATCH 4/4] x86: restore -- Allow to restore fpu even if image is incomatible with cpu state

Cyrill Gorcunov gorcunov at openvz.org
Fri Jan 31 01:05:45 PST 2014


Sometime, especially when testing, we migrate checkpointed tasks between
nodes which have different CPU capabilities. In particular some CPUs have
xsave feature while others -- do not. So to be able to continue migration
procedure even in such conditions one should specify

	--cpu-cap ^fpu

on command line which would force criu to restore FPU state ignoring extended
status present in image file.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 arch/x86/crtools.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-x86-restore-Allow-to-restore-fpu-even-if-image-is-in.patch
Type: text/x-patch
Size: 992 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140131/e42c77cd/attachment.bin>


More information about the CRIU mailing list