From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: [PATCH OSSTEST 01/12] Add support of parsing grub which has 'submenu' primitive Date: Wed, 11 Feb 2015 14:44:15 +0000 Message-ID: <21723.27327.610328.556698@mariner.uk.xensource.com> References: <1423648341-203755-1-git-send-email-robert.hu@intel.com> <1423648341-203755-2-git-send-email-robert.hu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1423648341-203755-2-git-send-email-robert.hu@intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Robert Ho Cc: longtaox.pang@intel.com, jfehlig@suse.com, wei.liu2@citrix.com, ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Robert Ho writes ("[PATCH OSSTEST 01/12] Add support of parsing grub which has 'submenu' primitive"): > From a hvm kernel build from Linux stable Kernel tree, > the auto generated grub2 menu will have 'submenu' primitive, upon the > 'menuentry' items. Xen boot entries will be grouped into a submenu. This > patch adds capability to support such grub formats. Also, this patch adjust > some indent alignments. Thanks for this submission. Dealing with submenus is definitely something we want to do. I haven't looked at the code in detail yet but I have a general question: we currently count menu entries and eventually write GRUB_DEFAULT= into /etc/default/grub. Does this work properly if the entry is in a submenu ? I guess you have probably tested this but I thought I should ask... Can you please not adjust the whitespace ? osstest in general doesn't have a requirement for any particular whitespace use, and certainly if there are to be any whitespace changes they ought to be in a separate patch. Thanks, Ian.