[RFC PATCH 0/2] cr: Introduce s390x checkpoint/restart code

Serge E. Hallyn serue at us.ibm.com
Thu Jan 15 14:25:39 PST 2009


Quoting Martin Schwidefsky (schwidefsky at de.ibm.com):
> What is left are the pgstes tables. After you forked the new process
> that is used to restart a KVM enabled process you need to call
> s390_enable_sie(), preferably before you recreate the VMAs.

So, let's say we're checkpointing 3 tasks in a s390-kvm.
Now we restart them outside of kvm.  Some process will
fork(), exec() some restart program, which will in turn
fork() twice, then each of those programs will call
sys_restart(), read the info pertaining to the checkpoint
task they are to re-create, and set themselves up.

Should the s390_enable_sie() then not be correctly set
by the system automatically?  So whether or not I'm
restarting in kvm, the kvm_arch_create_vm() for s390
will have been called?

Or do I misunderstand?

thanks,
-serge


More information about the Containers mailing list