On Sun, Jul 17, 2011 at 01:57:09AM +0300, Kirill A. Shutemov wrote: > On Fri, Jul 15, 2011 at 05:47:44PM +0400, Pavel Emelyanov wrote: > > An image read from file contains task's registers and information > > about its VM. Later this image can be execve-ed causing recreation > > of the previously read task state. > > > > The file format is my own, very simple. Introduced to make the code > > as simple as possible. Better file format (if any) is to be discussed. > > I think file format should be per-binfmt, similar to core dump. So it will > be ELF with ELF binary. Core dumper code can be reused in some way. > Don't think so. We could push all data into PT_LOAD, still the restore procedure is different from how elf loader works so I don't want at all to change kernel's elf handler code (if I understand you right, that is what you propose?). In real we tried to isolate the changes we bring as much as possible. Cyrill _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers