wdog_control()

Control the action taken when the watchdog timer triggers

Synopsis:

#include <qvm/wdog.h>
int wdog_control(struct wdog_state *wds,
                 vdev_ctrl_options_t ctrl,
                 const char *arg)

Arguments:

wds
A pointer to a wdog_state structure with the watchdog state.
ctrl
The operation to perform, as a vdev_ctrl_options_t value.
arg
Parameters for the operation.

Description:

This function parses the watchdog vdev from the VM configuration and controls the action taken when the watchdog timer triggers. For more details, refer to the wdt-ib700 and wdt-sp805 vdevs in the QNX hypervisor User's Guide.

Returns:

Always EOK.

Page updated: