From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZidL-0007OH-31 for mharc-grub-devel@gnu.org; Sat, 27 Feb 2016 12:26:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZidI-0007O4-Jk for grub-devel@gnu.org; Sat, 27 Feb 2016 12:26:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZidF-000170-Da for grub-devel@gnu.org; Sat, 27 Feb 2016 12:26:20 -0500 Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]:36781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZidF-000169-0v for grub-devel@gnu.org; Sat, 27 Feb 2016 12:26:17 -0500 Received: by mail-lf0-x22c.google.com with SMTP id l83so22805930lfd.3 for ; Sat, 27 Feb 2016 09:26:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=JzBA7p2G2+ffHvfkieha2xPQYCB8vU9qBmPqCm0fR0E=; b=nL1Mu4nZUoqc8iNRAFMOiCjHzax/x7mxL9F+84KTZ+AyfGcNq0EmPtHAJJ2qXLp4qF Ta7weO3H5OOsd7xnxd3JczUr/YUrI0kWNX8o3JYpRA8NK2udZUfqYomNNVi07sI7NjDa 8Md6dknRULHCUZE2Qerm3p/e0CG8zkJ8jgTFRMYdERxvcb7AABHwtDRwaHLofh2BhQce JeNZdr1xOmBwgdkcWR/26/Eo4ExNk+tawaA/Us8ksRLP39FgUNMpaCVABiTiU92NgULm I/Cn9PBDOB6tAXCIhDDJap7iiPHvMdUFyIgs7QgUSRl14oR2q45n2LKf/tH0R++zaa5D rxyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=JzBA7p2G2+ffHvfkieha2xPQYCB8vU9qBmPqCm0fR0E=; b=QTUpdj2QAbPceyf1aQ7k8VpnYbUO8noJDRUp5uXtf2BHMM3rA0XkNL8nmANMWYR3Yu MEjspGzx/u3YM4ID/Cghg1JTenVmDl5S92aTwduBELm32PjVjPL3mZZNEWHK3lZnXugq ycz3GFOTTroGQtkqK38nPR2mRBLVSLHNIJeljqnA51jj1rwX9JZmWcXnhjcbPpl3FBzp mjYeeLWJqSfERr2r0JQcLAzl63hx345jL7LvxUfkGGtlSFU6gTVkcrOykEh2fbCzGOUe o3kmXrrsvrJDvNuLyE9IvnZwolpVaXjOQNSqnlRASYmDH85eXWRd2zdzwBbkRYdgyCJ4 nqUA== X-Gm-Message-State: AD7BkJILugQcgfjIQmGQgjkLrkHNsPZtNo2Yhaf9ApWbKoCVnIiD+j44JPWMS/liKCoAYQ== X-Received: by 10.25.27.12 with SMTP id b12mr2723663lfb.97.1456593976185; Sat, 27 Feb 2016 09:26:16 -0800 (PST) Received: from [192.168.1.41] (ppp109-252-76-159.pppoe.spdop.ru. [109.252.76.159]) by smtp.gmail.com with ESMTPSA id zs6sm2098330lbb.38.2016.02.27.09.26.14 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 27 Feb 2016 09:26:15 -0800 (PST) Subject: Re: [PATCH v3 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi To: fu.wei@linaro.org, grub-devel@gnu.org, phcoder@gmail.com References: <1456485211-32695-1-git-send-email-fu.wei@linaro.org> <1456485211-32695-5-git-send-email-fu.wei@linaro.org> From: Andrei Borzenkov X-Enigmail-Draft-Status: N1110 Message-ID: <56D1DC36.1020603@gmail.com> Date: Sat, 27 Feb 2016 20:26:14 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1456485211-32695-5-git-send-email-fu.wei@linaro.org> Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22c Cc: xen-devel@lists.xensource.com, Ian.Campbell@citrix.com, jcm@redhat.com, julien.grall@linaro.org, leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 17:26:22 -0000 26.02.2016 14:13, fu.wei@linaro.org пишет: > From: Fu Wei > > delete: xen_linux, xen_initrd, xen_xsm > add: xen_module > > This update bases on > commit 0edd750e50698854068358ea53528100a9192902 > Author: Vladimir Serbinenko > Date: Fri Jan 22 10:18:47 2016 +0100 > > xen_boot: Remove obsolete module type distinctions. > > Signed-off-by: Fu Wei > --- > docs/grub.texi | 33 ++++++++++----------------------- > 1 file changed, 10 insertions(+), 23 deletions(-) > > diff --git a/docs/grub.texi b/docs/grub.texi > index 82f6fa4..3fbdd99 100644 > --- a/docs/grub.texi > +++ b/docs/grub.texi > @@ -3861,9 +3861,7 @@ you forget a command, you can run the command @command{help} > * videoinfo:: List available video modes > @comment * xen_*:: Xen boot commands > * xen_hypervisor:: Load xen hypervisor binary > -* xen_linux:: Load dom0 kernel for xen hypervisor > -* xen_initrd:: Load dom0 initrd for dom0 kernel > -* xen_xsm:: Load xen security module for xen hypervisor > +* xen_module:: Load xen modules for xen hypervisor > @end menu > > > @@ -5141,30 +5139,19 @@ verbatim as the @dfn{kernel command-line}. Any other binaries must be > reloaded after using this command. > @end deffn > > -@node xen_linux > -@subsection xen_linux > +@node xen_module > +@subsection xen_module > > -@deffn Command xen_linux file [arguments] > -Load a dom0 kernel image for xen hypervisor at the booting process of xen. > +@deffn Command xen_module [--nounzip] file [arguments] > +Load a module for xen hypervisor at the booting process of xen. > The rest of the line is passed verbatim as the module command line. == > +On i386, the modules will be identified by Multiboot(2) protocol. > +On arm64, each module will be identified by the order in which the > +modules are added. I think it is better to skip it entirely. It is not really correct - neither multiboot protocol provides any module identification (Xen probes module types), nor is i386 using multiboot2, nor can all modules be probed, so order still matters. To avoid confusion I'd simply replaced the above three lines with Modules should be loaded in the following order: > +The 1st module: dom0 kernel image > +The 2nd module: dom0 ramdisk (optional) This covers both supported platforms without going into too deep details; if you and Vladimir are OK, I'll commit with this change. > @end deffn > > -@node xen_initrd > -@subsection xen_initrd > - > -@deffn Command xen_initrd file > -Load a initrd image for dom0 kernel at the booting process of xen. > -@end deffn > - > -@node xen_xsm > -@subsection xen_xsm > - > -@deffn Command xen_xsm file > -Load a xen security module for xen hypervisor at the booting process of xen. > -See @uref{http://wiki.xen.org/wiki/XSM} for more detail. > -@end deffn > - > - > @node Networking commands > @section The list of networking commands > >