i6300esb watchdog in Windows (help needed)

Wombat

Renowned Member
Jan 7, 2011
2
0
66
I'm trying to force a windows guest reset on BSOD using the qemu watchdog functionality.
After adding a virtual watchdog device

/etc/pve/local/qemu-server/101.conf
watchdog: model=i6300esb,action=reset

to Windows VM it appears in the device manager as
Intel(R) 6300ESB Watchdog timer - 25A

with Microsoft's default drivers installed. What are my next steps? It seems that for Linux guests kernel already manages the heartbeat service for virtual watchdog device but what about Windows?

Do I need a separate Windows software service to poll a the watchdog? Does Windows Server manages this?
It seems to be no documentation at all.

Help greatly appreciated!
 
I think this is just impossible in Windows.

I just realized that my problem is solved by a simple cron bash script in proxmox:

#!/usr/bin/env bash

# pings qemu-agent and restarts VM on ANY error

VM="101 102 108 109"

for VMID in $VM; do
/usr/sbin/qm agent $VMID ping || (/usr/sbin/qm unlock $VMID; /usr/sbin/qm stop $VMID; /usr/sbin/qm start $VMID)
done
 
Last edited: