Module Name: src
Committed By: martin
Date: Wed Oct 18 15:16:09 UTC 2023
Modified Files:
src/sys/arch/xen/xenbus [netbsd-10]: xenbus_probe.c
Log Message:
Pull up following revision(s) (requested by bouyer in ticket #426):
sys/arch/xen/xenbus/xenbus_probe.c: revision 1.60
xenbus: if dom0 support is not compiled in, panic with a usefull message
instead of waiting for an event which will never happen
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.58.6.1 src/sys/arch/xen/xenbus/xenbus_probe.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/xen/xenbus/xenbus_probe.c
diff -u src/sys/arch/xen/xenbus/xenbus_probe.c:1.58 src/sys/arch/xen/xenbus/xenbus_probe.c:1.58.6.1
--- src/sys/arch/xen/xenbus/xenbus_probe.c:1.58 Sat Aug 7 16:19:08 2021
+++ src/sys/arch/xen/xenbus/xenbus_probe.c Wed Oct 18 15:16:09 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: xenbus_probe.c,v 1.58 2021/08/07 16:19:08 thorpej Exp $ */
+/* $NetBSD: xenbus_probe.c,v 1.58.6.1 2023/10/18 15:16:09 martin Exp $ */
/******************************************************************************
* Talks to Xen Store to figure out what devices we have.
*
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xenbus_probe.c,v 1.58 2021/08/07 16:19:08 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xenbus_probe.c,v 1.58.6.1 2023/10/18 15:16:09 martin Exp $");
#if 0
#define DPRINTK(fmt, args...) \
@@ -723,7 +723,7 @@ xenbus_probe_init(void *unused)
DELAY(1000);
#else /* DOM0OPS */
- kthread_exit(0); /* can't get a working xenstore in this case */
+ panic("dom0 support not compiled in");
#endif /* DOM0OPS */
}