[CRIU] [PATCH 07/19] dump, restore: Initialize cpu run-time features
Cyrill Gorcunov
gorcunov at openvz.org
Fri Nov 16 09:50:43 EST 2012
This allows us to obtain the xsave frame size
provided by real cpu we're restoring on.
We will need this size to check if we can continue
restore the FPU from the image (the real work on
this only need to be done thus it's rather a feature
which we will need pretty soon).
Also it parses current /proc/cpuinfo providing us
the information about which features the kernel
do supports.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
cr-dump.c | 4 ++++
cr-restore.c | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-dump-restore-Initialize-cpu-run-time-features.patch
Type: text/x-patch
Size: 930 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121116/05669982/attachment.bin>
More information about the CRIU
mailing list