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

[Xen-devel] Question about xm save

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Question about xm save
From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Mar 2007 08:53:40 +0100
Delivery-date: Mon, 12 Mar 2007 00:52:49 -0700
Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=tQvK84LgwVhtGIKaX50ZTRRh3+Dr9Kb3bRNwGDxWKTyYKqOiKcvE75QMX3zDdLC0V8qfnQd5jK5pq27LInX5Abk8IdW0vE6F5Ojxz7S0Su3z4PRojLnOKTxY/sOcuk0S;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
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!

Dietmar.

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

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