Add handling for checkstop gpio

Add function to handle a checkstop gpio interrupt. Once interrupt
is received, wait an arbitrary time of 30s, and reboot the host
after that time if the gpio interrupt is still set and the system
state indicates the host is running.

Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2 files changed