1. 07 Oct, 2014 2 commits
    • Tycho Andersen's avatar
      cg: restore special cpuset props only in cgs criu creates · 003aed3b
      Tycho Andersen authored
      Previously we were trying to copy the root cg properties recursively to attempt
      to correct invalid restores. However, based on some ML discussion, we should
      only restore exactly what was dumped. Users need to set up their cg heirarchies
      correctly (that is, they should not set up any options in the parent that would
      conflict with what was dumped) in order to restore successfully.
      Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      003aed3b
    • Tycho Andersen's avatar
      cg: use one path style throughout cg restore code · de055b79
      Tycho Andersen authored
      This commit is in preparation for the (hopefully last :) restore special cpuset
      patch.
      
      Previously, we installed the cgroup service fd after calling
      prepare_cgroup_dirs, which meant that we had to carry around the temporary
      directory name in order to put things in the right place. The
      restore_cgroup_prop function uses the cg service fd instead of carrying around
      the full path. This means that we can't sue restore_cgroup_prop, without first
      sanitizing the path. Instead, we install the service fd before calling
      prepare_cgroup_dirs, and all the code just references that instead of carrying
      around the temporary path.
      Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      de055b79
  2. 03 Oct, 2014 15 commits
  3. 02 Oct, 2014 6 commits
  4. 01 Oct, 2014 11 commits
  5. 30 Sep, 2014 6 commits