virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xen: disable all non-virtual devices
@ 2007-06-06  1:23 Jeremy Fitzhardinge
  0 siblings, 0 replies; only message in thread
From: Jeremy Fitzhardinge @ 2007-06-06  1:23 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Virtualization Mailing List, Andrew Morton,
	Linux Kernel Mailing List

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@xensource.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-06  1:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-06  1:23 [PATCH] xen: disable all non-virtual devices Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).