From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: /etc/grub.d/09-xen for generating grub.cfg for hypervisor boot entries. Date: Wed, 19 May 2010 11:09:07 -0700 Message-ID: <4BF42943.6080105@goop.org> References: <4BF32FAB.7050900@triad.rr.com> <4BF41AD9.6050806@triad.rr.com> <4BF42426.3040606@triad.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BF42426.3040606@triad.rr.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: listmail Cc: xen-devel@lists.xensource.com, Bruce Edge List-Id: xen-devel@lists.xenproject.org On 05/19/2010 10:47 AM, listmail wrote: > Yes that should do it and no corresponding boot/config-$(uname -r) > means nothing will be generated for the respective kernel. There > could also be a check for CONFIG_XEN=y to support Xenlinux kernels. > That entry should not exist in pvops .config Yes, it does. CONFIG_XEN is the master switch for all Xen-related features in a pvops kernel. You would have to look for the absence of CONFIG_PARAVIRT to detect a Xenlinux kernel. J