2007-06-06 01:39:10

by Jeremy Fitzhardinge

[permalink] [raw]
Subject: [PATCH] xen: disable all non-virtual devices

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 <[email protected]>
Cc: Rusty Russell <[email protected]>

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();
}