[lxc-devel] [lxc/lxc] 46c8ff: lxc-checkpoint: automatically detect if --external...

GitHub noreply at github.com
Thu Nov 17 02:00:20 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 46c8ffd5e5a6e46d5078e724c1ca929e7438ba05
      https://github.com/lxc/lxc/commit/46c8ffd5e5a6e46d5078e724c1ca929e7438ba05
  Author: Adrian Reber <areber at redhat.com>
  Date:   2016-11-16 (Wed, 16 Nov 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  lxc-checkpoint: automatically detect if --external or --veth-pair

With the criu release 2.8 criu deprecated the --veth-pair command-line
option in favor of --external:

f2037e6 veth: Make --external support --veth-pair

git tag --contains f2037e6d3445fc400
v2.8

With this commit lxc-checkpoint will automatically switch between
the new and old command-line option dependent on the detected
criu version.

For criu version older than 2.8 something like this will be used:

  --veth-pair eth0=vethYOK6RW at lxcbr0

and starting with criu version 2.8 it will look like this:

  --external veth[eth0]:vethCRPEYL at lxcbr0

Signed-off-by: Adrian Reber <areber at redhat.com>


  Commit: 67c933b6f8699812acf5df047ad033aee10f52a8
      https://github.com/lxc/lxc/commit/67c933b6f8699812acf5df047ad033aee10f52a8
  Author: Christian Brauner <christian.brauner at canonical.com>
  Date:   2016-11-16 (Wed, 16 Nov 2016)

  Changed paths:
    M src/lxc/criu.c

  Log Message:
  -----------
  Merge pull request #1303 from adrianreber/master

lxc-checkpoint: automatically detect if --external or --veth-pair


Compare: https://github.com/lxc/lxc/compare/471a304df4ff...67c933b6f869


More information about the lxc-devel mailing list