qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Steve Fosdick <lists@pelvoux.nildram.co.uk>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Hardware watchdogs (patch for discussion only)
Date: Fri, 27 Feb 2009 09:55:31 +0000	[thread overview]
Message-ID: <1235728531.5894.181.camel@ecrins.fosdick.home.net> (raw)
In-Reply-To: <20090226144511.GC14001@amd.home.annexia.org>

On Thu, 2009-02-26 at 14:45 +0000, Richard W.M. Jones wrote:

> 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 ...

Am I right in thinking that the kernel will not respond to an ACPI event
that indicates a power button has been pressed but forward it to
userspace where something (acpid) should respond?

If so there isn't much point in making the pre-timer interrupt do that
as we are assuming userspace is dead.  Perhaps instead it could use the
Alt-SysRq mechanism to do an emergency sync,reboot?

Regards,
Steve.

  reply	other threads:[~2009-02-27  9:52 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
2009-02-27  9:55       ` Steve Fosdick [this message]
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=1235728531.5894.181.camel@ecrins.fosdick.home.net \
    --to=lists@pelvoux.nildram.co.uk \
    --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).