Rob Bradford robert.bradford@intel.com writes:
Reserve an ID for a watchdog device which may be used to ensure that the guest is responsive. This is equivalent of a hardware watchdog device and will trigger the reboot of the guest if the the host does not periodic ping from the the guest.
Out of interest is your watchdog device also going to allow for straight power/reset control?
The use case I'm thinking of is QEMU's -m virt machine which is a purely virtual machine which is a target for a number of firmware/bootcode projects. QEMU provides a firmware emulation that will do the right thing if you issue PSCI supervisor calls and you have directly loaded a kernel. However if you are testing firmware - for example EDK2 or Arm Trusted Firmware it is expected to make the final hw appropriate twiddle to reboot the machine and of course that is undefined for -m virt.
Signed-off-by: Rob Bradford robert.bradford@intel.com
Reviewed-by: Alex Bennée alex.bennee@linaro.org