[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.