From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1a0OHY-0002jp-70 for mharc-grub-devel@gnu.org; Sun, 22 Nov 2015 01:37:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0OHV-0002jW-TH for grub-devel@gnu.org; Sun, 22 Nov 2015 01:37:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0OHS-0007MQ-MJ for grub-devel@gnu.org; Sun, 22 Nov 2015 01:37:49 -0500 Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]:35841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0OHS-0007MM-Es for grub-devel@gnu.org; Sun, 22 Nov 2015 01:37:46 -0500 Received: by lfs39 with SMTP id 39so90916174lfs.3 for ; Sat, 21 Nov 2015 22:37:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=ZsrSIfBNNc4T2KuZ87HtazEWG85JaM9nY7uvodqisD0=; b=LmSQWtZMvof+d4Mljs6GjI1jZXCZ6yVK11o4eWMKcKuvW+EGFeHdFnROkIbunyNu1e EVbaTeNMigG9xHwWteeMwa8p4eCMqJiDt5BTr1iRO/IQ5QDmZNHIsMmaqmawNeJw0tpX fQFfzLJQmHgw4dxCqJHSEEgdeLog7xWLdGJBTYIDyln5u8WxSW/atqQx53+cPdpkia2S fqhFWB4MD3s6t0OjmcvhaBt/+eQ2S9NZnXDnC9lqTQAyTGJRMUt6SVk9kO0pVd73MoTk vz/rkXejgKPwXn9imNXjK+v9102LIHij/GCaOKftAVHNXdRZ50QGKL1M9V0by98+jf8x EaPg== X-Received: by 10.25.210.135 with SMTP id j129mr8713237lfg.101.1448174265443; Sat, 21 Nov 2015 22:37:45 -0800 (PST) Received: from [192.168.1.41] (ppp91-76-25-247.pppoe.mtu-net.ru. [91.76.25.247]) by smtp.gmail.com with ESMTPSA id e63sm1007195lfe.5.2015.11.21.22.37.44 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 21 Nov 2015 22:37:44 -0800 (PST) Subject: Re: Grub2 documentation of the GRUB_CMDLINE_*XEN* parameters -- unclear. What's _intended_? To: The development of GNU GRUB References: <56510884.8060908@gmail.com> From: Andrei Borzenkov Message-ID: <565162B7.7000000@gmail.com> Date: Sun, 22 Nov 2015 09:37:43 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56510884.8060908@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c07::22c 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: Sun, 22 Nov 2015 06:37:51 -0000 22.11.2015 03:12, PGNet Dev пишет: > Grub2 documentation @ > https://www.gnu.org/software/grub/manual/grub.html#Configuration states > > ... > ‘GRUB_CMDLINE_XEN’ > ‘GRUB_CMDLINE_XEN_DEFAULT’ > > The values of these options are appended to the values of > ‘GRUB_CMDLINE_LINUX’ and ‘GRUB_CMDLINE_LINUX_DEFAULT’ for Linux and Xen > menu entries. That's not what current manual says. Please use current upstream sources when you contact upstream. > ‘GRUB_CMDLINE_LINUX_XEN_REPLACE’ > ‘GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT’ > > The values of these options replace the values of > ‘GRUB_CMDLINE_LINUX’ and ‘GRUB_CMDLINE_LINUX_DEFAULT’ for Linux and Xen > menu entries. I agree it is a bit fuzzy. If set, it is used for Linux kernel arguments in Xen menu entries. Care to send a patch clarifying it? > ... > > From these docs. it's not clear which values get mapped to which grub > entries. One set 'appends', one set 'replaces'. Are they exclusive of > one another? > > And, what specifically gets mapped to Xen kernel's "options=" parameter > line? > > E.g., a grub2-mkconfig-generated xen*.cfg takes the form > Please direct this question to your distribution. For a start, there is no grub2-mkconfig upstream. > # disclaimer > [global] > #default= > > [config.1] > options= dom0_mem= ... > kernel=vmlinuz-4.3.0-16.gff1dcd9-xen ... > ramdisk=initrd-4.3.0-16.gff1dcd9-xen ... > > whereas for a NON-xen grub*.cfg > > # disclaimer > [global] > #default= > > [config.1] > kernel=vmlinuz-4.3.0-16.gff1dcd9-default ... > ramdisk=initrd-4.3.0-16.gff1dcd9-default ... > I have no idea what you are talking about, sorry. Again, you need to direct this question to your distribution. > there's NO "options=..." line. > > The docs should clearly address which PARAMETERS map to the "options=" > line, and which to the kernel=" line in the Xen case. > > To get there -- What's intended, by designn, from development in these > specific *XEN* cases? > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel