From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEJC3-0006hq-EJ for qemu-devel@nongnu.org; Tue, 27 Aug 2013 09:20:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEJBx-0004qb-1P for qemu-devel@nongnu.org; Tue, 27 Aug 2013 09:20:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEJBw-0004qN-QL for qemu-devel@nongnu.org; Tue, 27 Aug 2013 09:20:16 -0400 Date: Tue, 27 Aug 2013 14:20:03 +0100 From: "Richard W.M. Jones" Message-ID: <20130827132002.GZ5918@redhat.com> References: <1377187852-11192-1-git-send-email-pbonzini@redhat.com> <87mwo9smjf.fsf@codemonkey.ws> <52164FFD.5030101@redhat.com> <521663A9.6040207@redhat.com> <87eh9lqyhp.fsf@codemonkey.ws> <20130827080657.GA19187@redhat.com> <521CA4BC.9020106@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <521CA4BC.9020106@redhat.com> Subject: Re: [Qemu-devel] pvpanic plans? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ronen Hod Cc: pkrempa@redhat.com, mst@redhat.com, libvir-list@redhat.com, hutao@cn.fujitsu.com, marcel.a@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com, kraxel@redhat.com, Anthony Liguori , Paolo Bonzini , lcapitulino@redhat.com, Laszlo Ersek , afaerber@suse.de 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