From: "Richard W.M. Jones" <rjones@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Hardware watchdogs (patch for discussion only)
Date: Thu, 26 Feb 2009 14:45:11 +0000 [thread overview]
Message-ID: <20090226144511.GC14001@amd.home.annexia.org> (raw)
In-Reply-To: <1235658682.5894.152.camel@ecrins.fosdick.home.net>
On Thu, Feb 26, 2009 at 02:31:22PM +0000, Steve Fosdick wrote:
> On Thu, 2009-02-26 at 10:51 +0000, Daniel P. Berrange wrote:
>
> > I think we can only support the following options
> >
> > - shutdown - graceful shutdown of guest via ACPI event via
> > qemu_system_powerdown_request()
>
> I wonder how many times the guest will be healthy enough to respond to
> this and how many times it will have crashed badly enough that this does
> no good.
[...]
> Do we want to offer the guest the option of a clean shutdown if it can
> still manage that and then reboot, i.e. the shutdown option but for use
> case 1?
The Intel 6300ESB in fact offers this possibility already. As with
other high-end watchdog hardware, it can be configured to send a
"pretimer interrupt". For example, if the watchdog is set to expire
after 60 seconds, you can get an interrupt N seconds before this,
which you can use to try a graceful shutdown.
Having said that, Linux watchdog software doesn't support this feature ...
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
next prev parent reply other threads:[~2009-02-26 14:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-25 23:37 [Qemu-devel] Hardware watchdogs (patch for discussion only) Richard W.M. Jones
2009-02-26 10:51 ` Daniel P. Berrange
2009-02-26 13:55 ` Richard W.M. Jones
2009-02-26 19:30 ` Blue Swirl
2009-02-26 14:31 ` Steve Fosdick
2009-02-26 14:45 ` Richard W.M. Jones [this message]
2009-02-27 9:55 ` Steve Fosdick
2009-02-26 17:50 ` Jamie Lokier
2009-02-27 9:50 ` Steve Fosdick
2009-02-27 12:19 ` Paul Brook
2009-02-28 21:34 ` Jamie Lokier
2009-02-28 22:00 ` Andreas Färber
2009-02-28 22:11 ` Richard W.M. Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090226144511.GC14001@amd.home.annexia.org \
--to=rjones@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).