grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* Grub2 documentation of the GRUB_CMDLINE_*XEN* parameters -- unclear. What's _intended_?
@ 2015-11-22  0:12 PGNet Dev
  2015-11-22  6:37 ` Andrei Borzenkov
  2015-11-22 19:54 ` Colin Watson
  0 siblings, 2 replies; 5+ messages in thread
From: PGNet Dev @ 2015-11-22  0:12 UTC (permalink / raw)
  To: grub-devel

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.
	‘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.
	...

 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

	# 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 ...

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?


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-22 20:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).