From: "Jan Beulich" Subject: linux, suspend/resume logic Date: Thu, 13 Mar 2008 15:45:33 +0000 Message-ID: <47D95A2D.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Instead of arbitrarily calling gnttab_suspend(), {gnttab,irq,time}_resume()= from the resume path in drivers/xen/core/machine_reboot.c, wouldn't be more reasonable to do a more complete suspend/resume operation by calling sysdev_{suspend,resume} (and, I didn't check whether this is already done for all of them, setting up the necessary sys_device/ sysdev_class instances so everything gets called as needed)? Thanks, Jan