From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161295AbXCBACF (ORCPT ); Thu, 1 Mar 2007 19:02:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161297AbXCBAB4 (ORCPT ); Thu, 1 Mar 2007 19:01:56 -0500 Received: from 207.47.60.4.static.nextweb.net ([207.47.60.4]:47907 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1161296AbXCAX4u (ORCPT ); Thu, 1 Mar 2007 18:56:50 -0500 Message-Id: <20070301232528.462923016@goop.org> References: <20070301232443.195603797@goop.org> User-Agent: quilt/0.46-1 Date: Thu, 01 Mar 2007 15:25:01 -0800 From: Jeremy Fitzhardinge To: Andi Kleen Cc: Andrew Morton , linux-kernel@vger.kernel.org, virtualization@lists.osdl.org, xen-devel@lists.xensource.com, Chris Wright , Zachary Amsden , Rusty Russell , Ian Pratt , Christian Limpach Subject: [patch 18/26] Xen-paravirt_ops: Add XEN config options Content-Disposition: inline; filename=xen-config.patch Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org The XEN config option enables the Xen paravirt_ops interface, which is installed when the kernel finds itself running under Xen. Xen is no longer a sub-architecture, so the X86_XEN subarch config option has gone. Xen is currently incompatible with: - PREEMPT - HZ: set to 100Hz for now, to cut down on VCPU context switch rate. This will be adapted to use tickless later. Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Ian Pratt Signed-off-by: Christian Limpach Signed-off-by: Chris Wright --- arch/i386/Kconfig | 2 ++ arch/i386/xen/Kconfig | 10 ++++++++++ 2 files changed, 12 insertions(+) =================================================================== --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig @@ -216,6 +216,8 @@ config PARAVIRT under a hypervisor, improving performance significantly. However, when run without a hypervisor the kernel is theoretically slower. If in doubt, say N. + +source "arch/i386/xen/Kconfig" config VMI bool "VMI Paravirt-ops support" =================================================================== --- /dev/null +++ b/arch/i386/xen/Kconfig @@ -0,0 +1,10 @@ +# +# This Kconfig describes xen options +# + +config XEN + bool "Enable support for Xen hypervisor" + depends on PARAVIRT && HZ_100 && !PREEMPT && !NO_HZ + default y + help + This is the Linux Xen port. --