Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135583151
D30816.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
818 B
Referenced Files
None
Subscribers
None
D30816.id.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
Wed, Nov 12, 1:16 AM (6 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25187441
Default Alt Text
D30816.id.diff (818 B)
Attached To
Mode
D30816: xen/console: add hook for xen_early_init()
Attached
Detach File
Event Timeline
Log In to Comment