WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Question about xm save

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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>