Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2006 01:11:28 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 89240 for review
Message-ID:  <200601060111.k061BSRL062647@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=89240

Change 89240 by kmacy@kmacy:freebsd7_xen3 on 2006/01/06 01:10:39

	notify xen that we have crashed so that we are either preserved, reaped,
	or core-dumped depending on settings

Affected files ...

.. //depot/projects/xen3/src/sys/kern/kern_shutdown.c#3 edit

Differences ...

==== //depot/projects/xen3/src/sys/kern/kern_shutdown.c#3 (text+ko) ====

@@ -439,6 +439,10 @@
 {
 	int loop;
 
+#ifdef XEN
+	HYPERVISOR_sched_op(SCHEDOP_shutdown, SHUTDOWN_crash);
+#endif
+
 	if (howto & RB_DUMP) {
 		if (PANIC_REBOOT_WAIT_TIME != 0) {
 			if (PANIC_REBOOT_WAIT_TIME != -1) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601060111.k061BSRL062647>