[CRIU] Live migration of OpenVZ with CRIU and p.haul...

Pavel Emelyanov xemul at parallels.com
Thu Jul 30 08:44:20 PDT 2015


On 07/17/2015 09:50 PM, Divjyot sethi wrote:
> Hello,

Hi. Sorry for late response, this request got lost in the inbox :(

> I have a setup for live migrating OpenVZ containers using CRIU and p.haul.
> I am trying to extend this setup as follows:
> 
> I am creating a special VMA type, say VMA_DEV, where DEV is a device I add to the container
> using --devnodes option.

Do you mmap() this device into some process?

> Now, when a dump happens, for the VMA_DEV vma, I want to call an ioctl for a device
> driver for dev; the driver is on the host and is visible from container.
> 
> However, while migrating, it seems that VMA_DEV is not detected when /proc is parsed,
> for any process in the container. (I make sure that the device is mapped and being used
> when the container is suspended). Am I missing something? Any help on this would be
> highly appreciated.

What do you mean by "not detected"? Does dump fail?

-- Pavel



More information about the CRIU mailing list