From: Ewan Mellor Subject: Re: Question about xm save Date: Mon, 12 Mar 2007 09:14:45 +0000 Message-ID: <20070312091445.GC3700@leeni.uk.xensource.com> References: <200703120853.40112.dietmar.hahn@fujitsu-siemens.com> <20070312085749.GA3700@leeni.uk.xensource.com> <200703121007.35871.dietmar.hahn@fujitsu-siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <200703121007.35871.dietmar.hahn@fujitsu-siemens.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dietmar Hahn Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Mar 12, 2007 at 10:07:35AM +0100, Dietmar Hahn wrote: > Am Montag, 12. März 2007 09:57 schrieb Ewan Mellor: > > Xend is waiting for the guest to suspend, at which point it will write back > > to xc_save, and then the save will complete. Your guest is not suspending, > > by the looks of it. > > > > Ewan. > OK I understand. But how is the guest informed about the suspend. Which > function in the guest is called or what entrypoint is used? Please can you > tell me a name or symbol in the linux kernel so I can have a look at the > sources. It's the control/shutdown = suspend node that is written into the store. I'm not familiar with Mini-OS, but in Linux it's in the sparse tree in drivers/xen/core/reboot.c. The node is written by Xend, then cleared by the kernel to acknowledge, and then the guest suspends. Ewan.