[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH for-4.15] tools/xenstored: liveupdate: Increase the maximum number of parameters
From: Julien Grall <jgrall@xxxxxxxxxx> 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> --- This is a candidate for Xen 4.15. Without it, it would not be possible to pass -F and -t together. The change is only modifying behavior for XenStored LiveUpdate. --- 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 a1652219b247..8e470f2b2056 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, "" }, -- 2.17.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |