i6300esb watchdog in Windows (help needed)

Wombat

Member
Jan 7, 2011
2
0
21
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!
 

Wombat

Member
Jan 7, 2011
2
0
21
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!