tools/xenstored: liveupdate: Increase the maximum number of parameters
authorJulien Grall <jgrall@amazon.com>
Fri, 5 Mar 2021 12:10:29 +0000 (12:10 +0000)
committerJulien Grall <jgrall@amazon.com>
Sat, 6 Mar 2021 19:07:49 +0000 (19:07 +0000)
commit51972482f77b68ef494c8b9591b125460e7984b9
tree3db3fb627ed598575a272d564e80c02892757784
parent9318fdf757ec234f0ee6c5cd381326b2f581d065
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@amazon.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
tools/xenstore/xenstored_control.c