[CRIU] [PATCH cr] crtools: support any format of image path (v2)

Andrey Vagin avagin at openvz.org
Fri Mar 16 15:47:41 EDT 2012


Now a name of an image file is hard coded ("smth-%d.img", pid),
but the images of namespaces, shared memery, etc belong to
not one task, so they may have other formats of names, which
will describe objects.

For example a image of shared memory content may have name like
this ("pages-shmem-%ld.img", shmid)

v2: fix comment

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 crtools.c         |   38 ++++--------------------------
 include/crtools.h |    9 ++++--
 util.c            |   67 +++++++++++++++++++++++++++++++++++++++++-----------
 3 files changed, 64 insertions(+), 50 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-crtools-support-any-format-of-image-path-v2.patch
Type: text/x-patch
Size: 5288 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120316/1b1d563b/0001-crtools-support-any-format-of-image-path-v2.bin


More information about the CRIU mailing list