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
[EMAIL PROTECTED]

>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@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to