Skip to contentSkip to conversation

qemu fast mode

Qemu-devel Marc Collin 2 participants 2 messages Nov 28, 2004 – Nov 29, 2004

lore
Share & tools
lore
#0 lore raw

hi

i use suse 9.1 kernel 2.6.8-24.3

to use qemu fast mode we need to do:
The kernel must be mapped at 0x90000000 (the default is 0xc0000000). You must modify only two lines in the kernel source: In `include/asm/page.h', replace
#define __PAGE_OFFSET (0xc0000000)

by
#define __PAGE_OFFSET (0x90000000)

And in `arch/i386/vmlinux.lds', replace
. = 0xc0000000 + 0x100000;

by
. = 0x90000000 + 0x100000;

i changed the value, make bzImage, make modules...

but each time i use the kernel with this hack in grub, the system reboot...

are there any problem with this kernel and qemu fast?

thanks

Signature · 1 line
La boîte à prog http://www.laboiteaprog.com
#1 lore raw
Quoted 3 lines · Marc Collin

to use qemu fast mode we need to do:
The kernel must be mapped at 0x90000000 (the default is 0xc0000000). You must modify only two lines in the kernel source: In `include/asm/page.h', replace

...

Quoted 5 lines

i changed the value, make bzImage, make modules...

but each time i use the kernel with this hack in grub, the system reboot...

are there any problem with this kernel and qemu fast?

Hi Marc, it seems to me that you are trying to boot the *host* system with the modified kernel. As I understand the docs, the host kernel shouldn't need any modifications, the modified kernel should only be running in the guest system inside qemu-fast's system emulation.