static void xen_restart(char *msg) { xen_reboot(SHUTDOWN_reboot); }
static void xen_emergency_restart(void) { xen_reboot(SHUTDOWN_reboot); }
static void xen_crash_shutdown(struct pt_regs *regs) { xen_reboot(SHUTDOWN_crash); }
static void xen_machine_halt(void) { xen_reboot(SHUTDOWN_poweroff); }
static void xen_machine_power_off(void) { if (pm_power_off) pm_power_off(); xen_reboot(SHUTDOWN_poweroff); }
static void xen_hvm_crash_shutdown(struct pt_regs *regs) { native_machine_crash_shutdown(regs); xen_reboot(SHUTDOWN_soft_reset); }
static void xen_hvm_shutdown(void) { native_machine_shutdown(); if (kexec_in_progress) xen_reboot(SHUTDOWN_soft_reset); }