[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pmf(9) and Xen domU suspending?
On Thu, Apr 03, 2008 at 05:10:05PM +0200, Juan RP wrote:
> On Thu, 03 Apr 2008 17:03:59 +0200
> Jean-Yves Migeon <jean-yves.migeon%espci.fr@localhost> wrote:
> > Question regarding sysmon events though: in
> > dev/sysmon/sysmon_power.c:965, the PSWITCH_TYPE_SLEEP case seems to
> > catch the event for the SLEEP, but ends in a NOOP (when comparing it to
> > other entries like RESET or POWERDOWN, which calls cpu_reboot(...) ).
> > Does that mean that the SLEEP event should be handled somewhere else?
> Yes, the event will be sent to the powerd(8) daemon via a proplib(4)
> dictionary with all details (try powerd -d to look at it) and it will
> run the 'pressed' action in the /etc/powerd/scripts/sleep_button file.
> When powerd(8) is not running, the kernel tries to do something, but
> in this case as there's no current policy it just prints an informative
In this case I'm not sure we want to go though sysmon and powerd at all
though. In case of e.g. a migration the guest isn't supposed to notice
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |