-
Refactor lxc-snapshot · 513f23dfChristian Brauner authored
- lxc_snapshot.c lacked necessary members in the associated lxc_arguments struct in arguments.h. This commit extends the lxc_arguments struct to include several parameters used by lxc-snapshot which allows a rewrite that is more consistent with the rest of the lxc-* executables. - All tests have been moved beyond the call to lxc_log_init() to allow for the messages to be printed or saved. - Some small changes to the my_args struct. (The enum task is set to SNAP (for snapshot) per default and variables illustrating the usage of the command line flags are written in all caps.) - arguments.h has been extended to accommodate a future rewrite of lxc-clone - Traditional behaviour of the executable has been retained in this commit. Signed-off-by:
Christian Brauner <christianvanbrauner@gmail.com> Acked-by:
Serge E. Hallyn <serge.hallyn@ubuntu.com>
513f23df
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| include | Loading commit data... | |
| lua-lxc | Loading commit data... | |
| lxc | Loading commit data... | |
| python-lxc | Loading commit data... | |
| tests | Loading commit data... | |
| Makefile.am | Loading commit data... |