1. 24 Mar, 2012 11 commits
  2. 23 Mar, 2012 4 commits
  3. 22 Mar, 2012 11 commits
  4. 21 Mar, 2012 11 commits
  5. 19 Mar, 2012 3 commits
    • Andrey Vagin's avatar
      crtools: support any format of image path (v3) · 5ca34788
      Andrey Vagin authored
      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
      v3: rebase
      Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      5ca34788
    • Cyrill Gorcunov's avatar
      restorer: Switch restoring of /proc/pid/exe symlink to new kernel interface · d463b15b
      Cyrill Gorcunov authored
      This patch makes crtools to work with new /proc/pid/exe symlink
      restoration (the kernel part was reviewed by Oleg).
      
      So this patch is for new shiny kernel only (!), thus I suggest
      all developers to move on kernel crtools-3.3 (which can be
      found at usual place) and pick up this patch for crtools itself.
      
      (again, with this patch anything but crtools-3.3 will not work)
      Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      d463b15b
    • Cyrill Gorcunov's avatar
      parasite: Refactor code to follow calling convention · 4b1f8d08
      Cyrill Gorcunov authored
      It happened some routines in parasite service code
      were not following calling convention so I fixed the
      callers and added a comment about adding new code here.
      
      At the same time the 3 error code madness is dropped
      as being requested by Pavel -- now we return one error
      code only.
      
      The PARASITE_ERR_ codes were dropped as well due to
      become redundant.
      
      The status of parasite service routine is set via
      SET_PARASITE_RET helper. In case if there is no error --
      just return 0. The calling code should not expect to
      find anything sane in parasite_status_t because parasite
      code might not touch it at all.
      
      Same time, due to this convention the parasite's
      dump_socket_queue is getting rid of third @err
      member, because it's now returned as a regular
      error code.
      Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      4b1f8d08