Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934248AbXFFBjK (ORCPT ); Tue, 5 Jun 2007 21:39:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933476AbXFFBiT (ORCPT ); Tue, 5 Jun 2007 21:38:19 -0400 Received: from 207.47.60.147.static.nextweb.net ([207.47.60.147]:40656 "EHLO rpc.xensource.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933298AbXFFBiR (ORCPT ); Tue, 5 Jun 2007 21:38:17 -0400 X-Greylist: delayed 848 seconds by postgrey-1.27 at vger.kernel.org; Tue, 05 Jun 2007 21:38:16 EDT Message-ID: <46660CAA.9000206@xensource.com> Date: Tue, 05 Jun 2007 18:23:54 -0700 From: Jeremy Fitzhardinge User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Andi Kleen CC: Andrew Morton , Linux Kernel Mailing List , Virtualization Mailing List , Rusty Russell Subject: [PATCH] xen: disable all non-virtual devices Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Jun 2007 01:24:08.0186 (UTC) FILETIME=[61150DA0:01C7A7D9] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 813 Lines: 23 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 Cc: Rusty Russell 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/