Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144557874
D30816.1775455509.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
818 B
Referenced Files
None
Subscribers
None
D30816.1775455509.diff
View Options
Index: sys/dev/xen/console/xen_console.c
===================================================================
--- sys/dev/xen/console/xen_console.c
+++ sys/dev/xen/console/xen_console.c
@@ -619,7 +619,7 @@
xencons_cnprobe(struct consdev *cp)
{
- if (!xen_domain())
+ if (!xen_early_probe())
return;
cp->cn_pri = (boothowto & RB_SERIAL) ? CN_REMOTE : CN_NORMAL;
Index: sys/x86/include/xen/xen-os.h
===================================================================
--- sys/x86/include/xen/xen-os.h
+++ sys/x86/include/xen/xen-os.h
@@ -42,6 +42,9 @@
#include <sys/pcpu.h>
+/* Early initializer, return indication whether to probe console */
+#define xen_early_probe() xen_domain()
+
/* If non-zero, the hypervisor has been configured to use a direct vector */
extern int xen_vector_callback_enabled;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 6:05 AM (1 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28271406
Default Alt Text
D30816.1775455509.diff (818 B)
Attached To
Mode
D30816: xen/console: add hook for xen_early_init()
Attached
Detach File
Event Timeline
Log In to Comment