+#if defined(HAVE_SYS_REBOOT_H)
+#if defined(RB_POWER_OFF)
+ /* Try to power off the system. */
+ fprintf (stderr, "init: calling reboot RB_POWER_OFF\n");
+ reboot (RB_POWER_OFF);
+ perror ("reboot: RB_POWER_OFF");
+#endif
+#if defined(RB_AUTOBOOT)
+ /* Try to reboot the system (qemu -no-reboot turns this into exit). */
+ fprintf (stderr, "init: calling reboot RB_AUTOBOOT\n");