xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* PV driver domains and S3 sleep
@ 2010-09-16 11:44 Rafal Wojtczuk
  2010-09-16 11:52 ` Keir Fraser
  2010-09-20 20:45 ` PV driver domains and S3 sleep Konrad Rzeszutek Wilk
  0 siblings, 2 replies; 11+ messages in thread
From: Rafal Wojtczuk @ 2010-09-16 11:44 UTC (permalink / raw)
  To: xen-devel

Hello,

The topic is self-explanatory: how to ensure that a PV driver domain correctly 
prepares its PCI devices for S3 sleep?
If I do "pm-suspend" in dom0, and the driver domain has active network interfaces, 
suspend hangs the system. Yes, in case of this particular machine, suspend works
fine when there is no driver domain. 
It is possible to manually invoke scripts from /usr/lib64/pm-utils/sleep.d/ in driver 
domain. In the test case, "ifconfig down wlan0" in the driver domain allows
the suspend to go smoothly. But generally, is it enough ? The kernel device driver should 
prepare the PCI device properly for S3, shouldn't it ?  
Would it be more proper to [somehow] notify a driver domain _kernel_ that we are 
going to S3 (just like dom0 kernel is notified), and let it execute all necessary actions 
(including, but not only, launching of usermode pm-utils scripts), just like dom0 kernel 
does ? Would it work at all, considering that driver domain kernel has no access to 
ACPI tables ? 
Currently, how are these issues taken care of in the mainstream Xen? 

Thanks in advance,
Rafal Wojtczuk

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-10-01 15:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-16 11:44 PV driver domains and S3 sleep Rafal Wojtczuk
2010-09-16 11:52 ` Keir Fraser
2010-09-16 19:04   ` Joanna Rutkowska
2010-09-17  0:22     ` Jeremy Fitzhardinge
2010-09-24 14:30       ` Rafal Wojtczuk
2010-09-24 18:06         ` Jeremy Fitzhardinge
2010-09-24 14:24   ` PCI hotplug problem [was: PV driver domains and S3 sleep] Rafal Wojtczuk
2010-09-27 17:07     ` Konrad Rzeszutek Wilk
2010-10-01 14:24       ` PCI hotplug problem Rafal Wojtczuk
2010-10-01 15:23         ` Jan Beulich
2010-09-20 20:45 ` PV driver domains and S3 sleep Konrad Rzeszutek Wilk

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