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

To: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Question about xm save
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Mon, 12 Mar 2007 08:57:49 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 12 Mar 2007 01:57:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200703120853.40112.dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200703120853.40112.dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Mon, Mar 12, 2007 at 08:53:40AM +0100, Dietmar Hahn wrote:

> Hi,
> 
> I'm trying to understand what's going on while calling 'xm save ...'.
> I looked through the sources and found in xend stuff:
> XendCheckpoint.py -> saveInputHandler() -> dominfo.shutdown('suspend')
> This makes an entry in the xenstore:
> control = ""
>     shutdown = "suspend"
> The function dominfo.waitForShutdown() is startet and waits for an event.
> In parallel (with the forkHelper) the command
> '/usr/lib/xen/bin/xc_save 21 1 0 0 0' is started and never returns.
> What I miss is the connection between these both things.
> Can anybody give me a hint?
> (For the tests I simply added some tracer in the python scripts and startet 
> the mini-os.)
> Many thanks in advance!

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.

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

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