OpenVZ Forum


Home » Mailing lists » Devel » Userspace checkpoint/restart hack: cryo
Userspace checkpoint/restart hack: cryo [message #29834] Fri, 25 April 2008 17:24 Go to previous message
Dave Hansen is currently offline  Dave Hansen
Messages: 240
Registered: October 2005
Senior Member
A guy named Marc Vertes wrote this as a little demonstration of
checkpoint/restart.  I've been using it to experiment with
checkpoint/restart.  I thought it might be of some use as we move
subsystems to being helped by the kernel to checkpoint and restart.

It's ptrace-based, and stuck on i386 for now.  It can probably be ported
elsewhere without too much trouble.    It doesn't support *anything
fancy like multuiple tasks :).  It has the advantage of being very
feature-bare, and I think it is pretty easy to hack on.  Whatever c/r
support we add to the kernel could easily be added on and tested.

http://userweb.kernel.org/~daveh/cryo/cryo-001.tar.gz

Usage:
	cr -p `pidof task` > checkpoint.cryo 
	cr -r < checkpoint.cryo

If anyone else has something simpler or easier to hack on, I'm all ears.

-- Dave

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: [patch 11/12][CFQ-cgroup] Control service tree: Main functions
Next Topic: [PATCH] cryo: Improve socket support: add UDP and IPv6 - V2
Goto Forum:
  


Current Time: Wed Jul 16 16:31:44 GMT 2025

Total time taken to generate the page: 0.04771 seconds