debuggers.hg

view xen/include/xen/shutdown.h @ 10989:16aa4b417c6b

[XEN] Clean up shutdown handling and ignore opt_noreboot if dom0
shuts down cleanly. The option is intended only to retain information
on the local console in case of a crash.

Based on a patch from Muli Ben-Yehuda <muli@il.ibm.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Aug 07 15:35:06 2006 +0100 (2006-08-07)
parents
children 1c85fe14169f
line source
1 #ifndef __XEN_SHUTDOWN_H__
2 #define __XEN_SHUTDOWN_H__
4 /* opt_noreboot: If true, machine will need manual reset on error. */
5 extern int opt_noreboot;
7 void dom0_shutdown(u8 reason);
9 void machine_restart(char *cmd);
10 void machine_halt(void);
11 void machine_power_off(void);
13 #endif /* __XEN_SHUTDOWN_H__ */