Date: Wed, 4 Jan 2006 05:58:47 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 89126 for review Message-ID: <200601040558.k045wlFT066213@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=89126 Change 89126 by kmacy@kmacy:freebsd7_xen3 on 2006/01/04 05:58:44 fix shutdown, we now shutdown and reboot cleanly Affected files ... .. //depot/projects/xen3/src/sys/i386/i386/vm_machdep.c#3 edit .. //depot/projects/xen3/src/sys/kern/kern_shutdown.c#2 edit Differences ... ==== //depot/projects/xen3/src/sys/i386/i386/vm_machdep.c#3 (text+ko) ==== @@ -551,6 +551,11 @@ } #endif +#ifdef XEN + HYPERVISOR_sched_op(SCHEDOP_shutdown, SHUTDOWN_reboot); +#endif + + #ifdef SMP u_int cnt, map; ==== //depot/projects/xen3/src/sys/kern/kern_shutdown.c#2 (text+ko) ==== @@ -418,6 +418,9 @@ printf("Please press any key to reboot.\n\n"); switch (cngetc()) { case -1: /* No console, just die */ +#ifdef XEN + case 0: /* No valid input */ +#endif cpu_halt(); /* NOTREACHED */ default:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601040558.k045wlFT066213>