[CRIU] [PATCH 17/22] restore: Add ability to restore FPU data

Cyrill Gorcunov gorcunov at openvz.org
Wed Nov 21 16:05:58 EST 2012


This patch adds ability to restore FPU data from the image.

In short what we've done here:

 - we check if the image has properly checkpointed FPU data
 - if the data is present we simply fill fxrstor/xsave frame
   and pass it to rt_sigreturn call

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-restore.c |  108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 restorer.c   |    8 ++++
 2 files changed, 116 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0017-restore-Add-ability-to-restore-FPU-data.patch
Type: text/x-patch
Size: 4961 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121122/341f4457/attachment-0001.bin>


More information about the CRIU mailing list