From: PGNet Dev <pgnet.dev@gmail.com>
To: grub-devel@gnu.org
Subject: Re: Grub2 documentation of the GRUB_CMDLINE_*XEN* parameters -- unclear. What's _intended_?
Date: Sun, 22 Nov 2015 12:41:04 -0800 [thread overview]
Message-ID: <56522860.5000301@gmail.com> (raw)
In-Reply-To: <20151122195437.GB4982@riva.ucam.org>
On 11/22/2015 11:54 AM, Colin Watson wrote:
> No, they aren't exclusive of one another, but are used to construct
> different command lines. GRUB_CMDLINE_XEN* are used for the hypervisor
> command line; GRUB_CMDLINE_LINUX_XEN_REPLACE* are used for the Linux
> kernel command line (but if unset, the corresponding GRUB_CMDLINE_LINUX*
> values are used instead).
>
> The misleading description you quote was the one in 2.00, but was
> clarified in git a while ago:
>
> http://git.savannah.gnu.org/cgit/grub.git/commit/?id=48f39bb4df5b903aaa66db9fdc6679571bff0dd9
That's exactly the helpful clarification needed. Thanks! It'd be useful
to have that updated on the grub2 website's docs -- it's just as valid
there.
>> And, what specifically gets mapped to Xen kernel's "options=" parameter
>> line?
>>
>> E.g., a grub2-mkconfig-generated xen*.cfg takes the form
> Upstream grub-mkconfig does not generate xen*.cfg at all. This is an
> openSUSE-specific patch. From inspecting their source code, I believe
> that the GRUB_CMDLINE_XEN* options will apply here.
I'd realized that there's different naming, e.g. the "grub2-mkconfig",
but had not realized this^^ diff as well.
>> The docs should clearly address which PARAMETERS map to the "options=" line,
>> and which to the kernel=" line in the Xen case.
>
> No doubt, but it is up to the openSUSE maintainers to make sure that
Noted. The latest upgrade of the distro has proven to be quite
problematic, particularly in the real-world/modern { pv-kernel + Xen +
Grub2 + EFI } use case; and the docs are a bit of a mess. I'd
_strongly_ prefer a grub2 instance closer to upstream's. Not yet sure
what replacing the distro's with a 'clean' upstream build entails ...
Thanks again for the response.
prev parent reply other threads:[~2015-11-22 20:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-22 0:12 Grub2 documentation of the GRUB_CMDLINE_*XEN* parameters -- unclear. What's _intended_? PGNet Dev
2015-11-22 6:37 ` Andrei Borzenkov
2015-11-22 15:00 ` PGNet Dev
2015-11-22 19:54 ` Colin Watson
2015-11-22 20:41 ` PGNet Dev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56522860.5000301@gmail.com \
--to=pgnet.dev@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).