[CRIU] [PATCH] libcriu: Add criu_set_root to the interface.
Ruslan Kuprieiev
kupruser at gmail.com
Thu Mar 20 08:35:10 PDT 2014
On 19.03.2014 21:59, Deyan Doychev wrote:
> From: Deyan Doychev <deyandoichev at gmail.com>
>
> This function implements the --root command line option in libcriu.
>
> Signed-off-by: Deyan Doychev <deyandoichev at gmail.com>
> ---
> lib/criu.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/lib/criu.c b/lib/criu.c
> index 33927e8..c5667aa 100644
> --- a/lib/criu.c
> +++ b/lib/criu.c
> @@ -99,6 +99,11 @@ void criu_set_log_level(int log_level)
> opts->log_level = log_level;
> }
>
> +void criu_set_root(char *root)
> +{
> + opts->root = strdup(root);
> +}
> +
> void criu_set_log_file(char *log_file)
> {
> opts->log_file = strdup(log_file);
Thanks!
Reviewed-by: Ruslan Kuprieiev <kupruser at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140320/4ff2469c/attachment.html>
More information about the CRIU
mailing list