Page MenuHomeFreeBSD

D30816.id.diff
No OneTemporary

D30816.id.diff

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

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)

Event Timeline