[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] tools/xenstored: liveupdate: Increase the maximum number of parameters
commit 51972482f77b68ef494c8b9591b125460e7984b9 Author: Julien Grall <jgrall@xxxxxxxxxx> AuthorDate: Fri Mar 5 12:10:29 2021 +0000 Commit: Julien Grall <jgrall@xxxxxxxxxx> CommitDate: Sat Mar 6 19:07:49 2021 +0000 tools/xenstored: liveupdate: Increase the maximum number of parameters The longest possible command line for LiveUpdate is: liveupdate -s -t <timeout> -F This is 5 parameters. However, the maximum is currently specified to 4. This means the some of the parameters will get ignored. Update the field max_pars to 5 so and admin can specify the timeout and force at the same time. Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx> Reviewed-by: Juergen Gross <jgross@xxxxxxxx> Release-Acked-by: Ian Jackson <iwj@xxxxxxxxxxxxxx> --- tools/xenstore/xenstored_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xenstore/xenstored_control.c b/tools/xenstore/xenstored_control.c index a1652219b2..8e470f2b20 100644 --- a/tools/xenstore/xenstored_control.c +++ b/tools/xenstore/xenstored_control.c @@ -768,7 +768,7 @@ static struct cmd_s cmds[] = { */ { "live-update", do_control_lu, "[-c <cmdline>] [-F] [-t <timeout>] <file>\n" - " Default timeout is 60 seconds.", 4 }, + " Default timeout is 60 seconds.", 5 }, #endif #ifdef __MINIOS__ { "memreport", do_control_memreport, "" }, -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |