wdog_bite()
Handle a watchdog device trigger (perform the watchdog bite)
Synopsis:
#include <qvm/wdog.h>void wdog_bite(struct wdog_state *wds)Arguments:
- wds
- A pointer to a wdog_state structure with the watchdog state.
Description:
Typically, call this function to trigger the watchdog to take an action when its timer has expired. Use the wdog_state ws_action member to control how this trigger should be handled.
For example, use WDOG_ACTION_TERMINATE to terminate the guest, or WDOG_ACTION_INTR to send an interrupt the guest; and if the WDOG_FLAG_DUMP is set, a core dump will be generated (see WDOG_ACTION_* and WDOG_FLAG_*).
Page updated:
