[CRIU] [PATCH 2/4] p.haul: merge commits from https://github.com/ThomasJClark/criu-gui-demo

Adrian Reber adrian at lisas.de
Wed Oct 21 06:21:04 PDT 2015


On Wed, Oct 21, 2015 at 03:49:26PM +0300, Pavel Emelyanov wrote:
> 
> > +        # Send a request to restore the specified process
> > +        req = criu.criu_req()
> > +        req.type = criu.RESTORE
> > +        req.opts.shell_job = False
> > +        req.opts.manage_cgroups = True
> > +        req.opts.images_dir_fd = dir_fd
> > +
> > +        resp = self.transaction(req)
> > +        return json.dumps({"succeeded": True}, separators=",:")
> 
> BTW, that's not "fair" live migration -- it's an emulation of it using two calls -- dump
> and restore. Why not call p_haul classes for "fair" live migration?

Your are correct. This is only the import of the original code which is
then changed in the next commit to use the p.haul infrastructure. I just
imported all the old code as the commits contain python code and
javascript. All unnecessary code is removed in the patch 3/4.

		Adrian


More information about the CRIU mailing list