]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/utils.h
destroy: implement in the api
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 17 May 2013 05:20:10 +0000 (07:20 +0200)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Sat, 25 May 2013 04:37:04 +0000 (23:37 -0500)
commit60bf62d4ae36a48342fb8aee680fbd4b423810b1
treef38c29ace017b8b6b6bbf3a0f393b7ebadad0fdf
parent3e625e2d2e12b919dd9590b97badc6108ee67b1a
destroy: implement in the api

This requires implementing bdev->ops->destroy() for each of the backing
store types.  Then implementing lxcapi_clone(), writing lxc_destroy.c
using the api, and removing the lxc-destroy.in script.

(this also has a few other cleanups, like marking some functions
static)

Changelog:
fold into destroy: fix zfs destroy
destroy: use correct program name in help

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
configure.ac
src/lxc/Makefile.am
src/lxc/arguments.h
src/lxc/bdev.c
src/lxc/bdev.h
src/lxc/cgroup.c
src/lxc/lxc_destroy.c [new file with mode: 0644]
src/lxc/lxccontainer.c
src/lxc/utils.c
src/lxc/utils.h