]> git.proxmox.com Git - mirror_lxc.git/commit
lxccontainer: revert set_running_config_item()
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 1 Jan 2018 20:56:23 +0000 (21:56 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 1 Jan 2018 20:58:09 +0000 (21:58 +0100)
commitd393e6452566a2b537cfc34b0bc3b67b04193a46
tree6aa4dea9cb0be8119be2a9044bffddd092dcd60a
parent2b33c8bf1269bdbd27193b5f2648fa2c926c3536
lxccontainer: revert set_running_config_item()

- As discussed we will have a proper API extension that will allow updating
  various parts of a running container. The prior approach wasn't a good idea.

- Revert this is not a problem since we haven't released any version with the
  set_running_config_item() API extension.

- I'm not simply reverting so that master users can still call into new
  liblxc's without crashing the container. This is achieved by keeping the
  commands callback struct member number identical.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/commands.c
src/lxc/commands.h
src/lxc/lxccontainer.c
src/lxc/lxccontainer.h
src/tests/Makefile.am
src/tests/livepatch.c [deleted file]