[PATCH] xen: disable all non-virtual devices

From: Jeremy Fitzhardinge
Date: Tue Jun 05 2007 - 21:39:11 EST


A domU Xen environment has no non-virtual drivers, so make sure
they're all disabled at once. This noticeably speeds up boot time.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>
Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>

diff -r c79da0042c7d arch/i386/xen/setup.c
--- a/arch/i386/xen/setup.c Tue Jun 05 18:17:30 2007 -0700
+++ b/arch/i386/xen/setup.c Tue Jun 05 18:17:59 2007 -0700
@@ -93,4 +93,6 @@ void __init xen_arch_setup(void)
/* fill cpus_possible with all available cpus */
xen_fill_possible_map();
#endif
+
+ paravirt_disable_iospace();
}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/