lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 07 Aug 2006 23:11:52 -0700
From:	Jeremy Fitzhardinge <jeremy@...p.org>
To:	"H. Peter Anvin" <hpa@...or.com>
CC:	"Eric W. Biederman" <ebiederm@...ssion.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: LOADER_TYPE for Xen in boot_params?

H. Peter Anvin wrote:
>>
>> 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.

Signed-off-by: Jeremy Fitzhardinge <jeremy@...source.com>
Cc: "H. Peter Anvin" <hpa@...or.com>

diff -r 4f3c59461622 Documentation/i386/boot.txt
--- a/Documentation/i386/boot.txt	Mon Aug 07 12:01:49 2006 -0700
+++ b/Documentation/i386/boot.txt	Mon Aug 07 23:06:45 2006 -0700
@@ -181,6 +181,7 @@ filled out, however:
 	5  ELILO
 	7  GRuB
 	8  U-BOOT
+	9  Xen
 
 	Please contact <hpa@...or.com> if you need a bootloader ID
 	value assigned.
diff -r 4f3c59461622 Documentation/i386/zero-page.txt
--- a/Documentation/i386/zero-page.txt	Mon Aug 07 12:01:49 2006 -0700
+++ b/Documentation/i386/zero-page.txt	Mon Aug 07 23:07:30 2006 -0700
@@ -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)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists