Re: [PATCH v3 2/4] tools/misc: xenwatchdogd enhancements

2024-04-22 Thread Anthony PERARD
On Thu, Apr 11, 2024 at 07:20:21PM +0100, le...@solinno.co.uk wrote: > From: Leigh Brown > > Add usage() function, the ability to run in the foreground, and > the ability to disarm the watchdog timer when exiting. > > Add enhanced parameter parsing and validation, making use of > getopt_long().

[PATCH v3 2/4] tools/misc: xenwatchdogd enhancements

2024-04-11 Thread leigh
From: Leigh Brown Add usage() function, the ability to run in the foreground, and the ability to disarm the watchdog timer when exiting. Add enhanced parameter parsing and validation, making use of getopt_long(). Check the number of parameters are correct, the timeout is at least two seconds