1. 14 Mar, 2013 6 commits
    • Andrey Vagin's avatar
      app-emu/lxc: create /var/run/netns/ · 7dc741f4
      Andrey Vagin authored
      In Fedora /var/run is on tmpfs, so all directories should be
      recreated each times.
      Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      7dc741f4
    • Pavel Emelyanov's avatar
      mem: Raise the page images IDs base for page server · d36480ed
      Pavel Emelyanov authored
      Currently shmem generates page images in parallel
      with page server and IDs may intersect. Fix this by
      making page server create larger IDs.
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      d36480ed
    • Pavel Emelyanov's avatar
      zdtm: Test how page server works · 36b96d1e
      Pavel Emelyanov authored
      When -p is used, launch page server in the same dir as
      crtools dump is to get fill dump in it.
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      36b96d1e
    • Pavel Emelyanov's avatar
      mem: Introduce page server · 213faeae
      Pavel Emelyanov authored
      The page server is a process, that is about to get pages over
      the network and put them into pagemap- + pages- images. Right
      now what it does is simply get the data and puts it into the
      image files. When we have dirty set tracking in the kernel the
      page server will have to collect "page changes" and properly
      integrate them into images.
      
      Running crtools with page server is like this:
      
      dst_node# crtools page-server --port <port> -D dump/ ...
      src_node# crtools dump -t <pid> --page-server --address <dst_node> --port <port> -D dump/ ...
      
      After this images from dst_node/dump/ and src_node/dump/ should
      be put into one place and tasks can be restored out of it.
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      213faeae
    • Pavel Emelyanov's avatar
      mem: Abstraction layer for putting pages into image · 02fc8695
      Pavel Emelyanov authored
      We'll send them over network soon, so prepare abstraction layer for
      this. Shmem is not on this scheme yet.
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      02fc8695
    • Pavel Emelyanov's avatar
      mem: Protobuf format for page dumps · 8801f596
      Pavel Emelyanov authored
      Since now we drain pages out of parasite, we can invent any format for
      page dumps. Let is be ... prorobuf one! :)
      
      Another thing to keep in mind, is that we're about to use splices and
      implement iterative migration, so it's better to have actual pages be
      page-aligned in the image.
      
      And -- backward compatibility. That said the new format is:
      
      1. pagemap-... file which contains a header (currently with a ID of
         the image with pages, see below) and an array of <nr_pages:vaddr>
         pairs. The first value means "how many pages to take from the
         file with pages (see below)" and the second -- where in the task
         address space to put them. Simple.
      
      2. pages-... file which containes only pages one by one (thus aligned
         as we want).
      
      This patch breaks backward compatibility (old images with pages wil
      be restored and then crash). Need to do it before v0.5 release.
      Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
      8801f596
  2. 05 Mar, 2013 8 commits
  3. 01 Mar, 2013 9 commits
  4. 27 Feb, 2013 5 commits
  5. 22 Feb, 2013 7 commits
  6. 20 Feb, 2013 5 commits