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

[Xen-devel] SHUTDOWN_suspend



Could someone explain to me the mechanisms by which the
SHUTDOWN_suspend sub-command of SCHEDOP_shutdown is handled?
I am namely having a hard time finding where the non-zero return code
unmodified_drivers/linux-2.6/platform-pci/machine_reboot.c:bp_suspend()
checks for gets injected.

Besides that it puzzles me that this is being used differently by the
pv-on-hvm drivers and the ones on a pv kernel: the latter pass an extra
argument, the consumer of which I again cannot seem to be able to find.
I'm specifically interested if it is valid to replace the pv drivers' use
(through HYPERVISOR_shutdown()) with a call to HYPERVISOR_suspend(),
and whether in that case passing just any value for the 'srec' parameter
is possible.

Thanks, Jan



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


 


Rackspace

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