Skip to contentSkip to conversation

LOADER_TYPE for Xen in boot_params?

DISCUSSION Jeremy Fitzhardinge 1 participant 1 message Aug 8, 2006 2 messages not in the archive Documentation

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 5 lines · H. Peter Anvin
Quoted 3 lines

Should I be poking some Xen-specific value into the LOADER_TYPE field? If so, what value? Should I just claim 5? And should this be Xen in particular, or reserve a value for 'hypervisor' and then have some other mechanism to distinguish which one?

It probably should be Xen in particular. Send me a patch allocating 9 for Xen, and use that.

Claim an ID number for Xen in the LOADER_TYPE field.

Also, keep the table in zero-page.txt consistent with boot.txt.

Documentation/i386/boot.txt +0 -0
diff -r 4f3c59461622 Documentation/i386/boot.txt
@@ -181,6 +181,7 @@ filled out, however:
	5  ELILO
	7  GRuB
	8  U-BOOT

+ 9 Xen

Please contact <[email protected]> if you need a bootloader ID value assigned.

Documentation/i386/zero-page.txt +0 -0
diff -r 4f3c59461622 Documentation/i386/zero-page.txt
@@ -63,6 +63,10 @@ 0x210	char		LOADER_TYPE, = 0, old one

2 for bootsect-loader
3 for SYSLINUX
4 for ETHERBOOT
+ 5 for ELILO
+ 7 for GRuB
+ 8 for U-BOOT
+ 9 for Xen
V = version
0x211 char loadflags:
bit0 = 1: kernel is loaded high (bzImage)