예제 #1
0
static void xen_restart(char *msg)
{
	xen_reboot(SHUTDOWN_reboot);
}
예제 #2
0
static void xen_emergency_restart(void)
{
	xen_reboot(SHUTDOWN_reboot);
}
예제 #3
0
static void xen_crash_shutdown(struct pt_regs *regs)
{
	xen_reboot(SHUTDOWN_crash);
}
예제 #4
0
static void xen_machine_halt(void)
{
	xen_reboot(SHUTDOWN_poweroff);
}
예제 #5
0
static void xen_machine_power_off(void)
{
	if (pm_power_off)
		pm_power_off();
	xen_reboot(SHUTDOWN_poweroff);
}
예제 #6
0
static void xen_hvm_crash_shutdown(struct pt_regs *regs)
{
	native_machine_crash_shutdown(regs);
	xen_reboot(SHUTDOWN_soft_reset);
}
예제 #7
0
static void xen_hvm_shutdown(void)
{
	native_machine_shutdown();
	if (kexec_in_progress)
		xen_reboot(SHUTDOWN_soft_reset);
}