]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/lxccontainer.h
Merge pull request #1943 from bhelm/master
[mirror_lxc.git] / src / lxc / lxccontainer.h
index 8e38928c3aa3a9e55c66345c85973a93115772df..c46be521eab71d5147d8c0696b13cf23f1481911 100644 (file)
@@ -41,6 +41,7 @@ extern "C" {
 #define LXC_CLONE_KEEPBDEVTYPE    (1 << 3) /*!< Use the same bdev type */
 #define LXC_CLONE_MAYBE_SNAPSHOT  (1 << 4) /*!< Snapshot only if bdev supports it, else copy */
 #define LXC_CLONE_MAXFLAGS        (1 << 5) /*!< Number of \c LXC_CLONE_* flags */
+#define LXC_CLONE_ALLOW_RUNNING   (1 << 6) /*!< allow snapshot creation even if source container is running */
 #define LXC_CREATE_QUIET          (1 << 0) /*!< Redirect \c stdin to \c /dev/zero and \c stdout and \c stderr to \c /dev/null */
 #define LXC_CREATE_MAXFLAGS       (1 << 1) /*!< Number of \c LXC_CREATE* flags */
 #define LXC_MOUNT_API_V1                  1