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

Cyrill Gorcunov gorcunov at openvz.org
Tue Jan 28 05:47:30 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 we introducing --fpu-mode option which
would force criu to restore FPU state ignoring extended status present in
image files.

This feature is pretty dangerous and should not be used until you really
know what you're doing.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Documentation/criu.txt |  9 +++++++++
 arch/x86/crtools.c     | 16 ++++++++++++----
 crtools.c              | 23 +++++++++++++++++++++++
 include/cr_options.h   |  9 +++++++++
 4 files changed, 53 insertions(+), 4 deletions(-)

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


More information about the CRIU mailing list