[lxc-devel] [lxc/lxc] a9a0ed: introduce lxcapi_add_device_node and lxcapi_remove...

GitHub noreply at github.com
Wed Nov 13 15:00:35 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: a9a0ed90dd1cdadd412576a45af16419efc0e939
      https://github.com/lxc/lxc/commit/a9a0ed90dd1cdadd412576a45af16419efc0e939
  Author: S.Çağlar Onur <caglar at 10ur.org>
  Date:   2013-11-13 (Wed, 13 Nov 2013)

  Changed paths:
    M src/lxc/lxccontainer.c
    M src/lxc/lxccontainer.h

  Log Message:
  -----------
  introduce lxcapi_add_device_node and lxcapi_remove_device_node to API (v3)

Adding block/char devices to running container is a common operation so
provide a common implementation for users to consume.

changes since v2;
* lets the user set an alternate path inside the container as Stéphane suggested

changes since v1;
* removed duplicated code

Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>





More information about the lxc-devel mailing list