qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Increase max -kernel size
@ 2007-03-27 16:14 Gwenole Beauchesne
  2007-03-27 16:32 ` Daniel Jacobowitz
  2007-03-27 19:16 ` Thiemo Seufer
  0 siblings, 2 replies; 11+ messages in thread
From: Gwenole Beauchesne @ 2007-03-27 16:14 UTC (permalink / raw)
  To: qemu-devel

Hi,

The following patch increases max kernel size to 8 MB when qemu is invoked 
with -kernel and -initrd. Otherwise, x86_64 kernel panics when loading the 
initrd (e.g. <Cooker>/x86_64/isolinux/alt0/{vmlinuz,all.rdz}).

Thanks,
Gwenole.

2007-03-27  Gwenole Beauchesne  <gbeauchesne@mandriva.com>

	* hw/pc.c (INITRD_LOAD_ADDR): Increase max kernel size with
	initrd.

--- qemu-0.9.0/hw/pc.c.increase-initrd-load-addr	2007-03-15 13:36:53.000000000 -0400
+++ qemu-0.9.0/hw/pc.c	2007-03-27 13:27:43.000000000 -0400
@@ -37,7 +37,7 @@ extern int kvm_allowed;
 #define LINUX_BOOT_FILENAME "linux_boot.bin"
 
 #define KERNEL_LOAD_ADDR     0x00100000
-#define INITRD_LOAD_ADDR     0x00600000
+#define INITRD_LOAD_ADDR     0x00900000
 #define KERNEL_PARAMS_ADDR   0x00090000
 #define KERNEL_CMDLINE_ADDR  0x00099000
 

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

end of thread, other threads:[~2007-03-31 16:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-27 16:14 [Qemu-devel] [PATCH] Increase max -kernel size Gwenole Beauchesne
2007-03-27 16:32 ` Daniel Jacobowitz
2007-03-27 19:16 ` Thiemo Seufer
2007-03-27 21:25   ` Daniel Jacobowitz
2007-03-27 21:56     ` Thiemo Seufer
2007-03-27 22:27       ` Paul Brook
2007-03-27 23:35         ` Thiemo Seufer
2007-03-28  2:21           ` Daniel Jacobowitz
2007-03-28 14:00             ` Paul Brook
2007-03-31 15:41               ` Daniel Jacobowitz
2007-03-31 16:50                 ` Paul Brook

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