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-ppc-devel

Re: [XenPPC]:PPC kernel shutdown & resume over Xen

To: Yi Ge <geyi@xxxxxxxxxx>
Subject: Re: [XenPPC]:PPC kernel shutdown & resume over Xen
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Wed, 27 Sep 2006 11:25:13 -0500
Cc: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 27 Sep 2006 09:25:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <OF42E36057.1EB8F6AA-ON852571F5.0075F333-852571F5.00790367@xxxxxxxxxx>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <OF42E36057.1EB8F6AA-ON852571F5.0075F333-852571F5.00790367@xxxxxxxxxx>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2006-09-26 at 18:05 -0400, Yi Ge wrote:
> We've tried to shutdown and resume the domU kernel based on the code
> from xen-tools and reboot.c.
> The DomU has been suspended and got the status "s" in xm list, but we
> can't resume it. Who can tell us how the HYPERVISOR_suspend and its
> parameter "srec" works on the suspend/shutdown procedure? 

I don't think anybody else on this list has looked in to suspend before.
So I have two suggetions:
1) look into the Xen code that implements this hypercall. In particular,
you're looking for SCHEDOP_shutdown in xen/common/schedule.c
2) if you don't understand that, you can ask specific questions on
xen-devel@xxxxxxxxxxxxxxxxxxxx

>From a quick read, it looks to me like the 'srec' parameter is totally
ignored, and may be an artifact from old code. If so, you should submit
a patch to xen-devel to remove it.

-- 
Hollis Blanchard
IBM Linux Technology Center


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

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