On Tue, Aug 27, 2013 at 04:08:12PM +0300, Ronen Hod wrote:
So the right solution is to send a heart-beat to a management
application (using qemu-ga or whatever), and let it decide how to
handle it.
Agreed. The qemu watchdog lets you do this already. You can (using
the qemu monitor, or libvirt) capture watchdog events and put them
into your management application. Watchdog firing does *not*
necessarily mean a guest reboot.
[Note what I say applies to the qemu watchdog device. The Linux
watchdog daemon may independently initiate a guest reboot, but you can
configure it to perform other actions instead.]
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW