[CRIU] Attempt for process migration

Cyrill Gorcunov gorcunov at openvz.org
Tue Mar 6 06:29:38 EST 2012


On Tue, Mar 06, 2012 at 12:19:31PM +0100, Adrian Reber wrote:
> 
> Does it make any sense how I started with this?
> 
> Are there ideas how correctly implement this?

Hi Adrian,

I believe we might need another level of abstraction then, say

struct img_ops {
	int (*prepare)(...);
	int (*open)(...);
	int (*write)(...);
	...
	...whatever needed here...
};

Then, if someone specifies a listening socket, we simply can assign
new img_ops which would work with sockests instead and so on.

Still not sure if Pavel will like this idea.

	Cyrill


More information about the CRIU mailing list