Skip to content

RFC proposed updates to boot protocol and paravirt booting

Jeremy Fitzhardinge lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7update boot spec to 2.07Documentation/i386/boot.txt arch/i386/kernel/asm-offsets.c include/asm-i386/bootparam.h+57 -30 replies
2/7add WEAK() for creating weak asm labelsinclude/linux/linkage.h+6 -00 replies
3/7allow linux/elf.h to be included in assemblerinclude/linux/elf.h+19 -50 replies
4/7define ELF notes for adding to a boot imageinclude/linux/elf_boot.h+15 -00 replies
5/7i386: clean up bzImage generationarch/i386/boot/Makefile arch/i386/boot/compressed/Makefile arch/i386/boot/compressed/piggy.S +6 more+56 -2250 replies
6/7i386: make the bzImage payload an ELF filearch/i386/boot/Makefile arch/i386/boot/compressed/Makefile arch/i386/boot/compressed/elfhdr.S +7 more+131 -2321 replies
7/7i386: paravirt boot sequencearch/i386/boot/header.S arch/i386/kernel/head.S+51 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/7] proposed updates to boot protocol and paravirt booting

This series:
1. Updates the boot protocol to version 2.07
2. Clean up the existing build process, to get rid of tools/build and make the linker do more heavy lifting
3. Make the bzImage payload an ELF file. The bootloader can extract this as a naked ELF file by skipping over boot_params.setup_sects worth of 16-bit setup code.
4. Update the boot_params to 2.07, and update the kernel's head.S to jump to the appropriate subarch-specific kernel entrypoint. The very earliest code is common (copy boot_params, clear bss); the split happens just before the initial pagetable setup.
+ random little changes to make it all hang together

This boots native for me, so everything basically works. But I haven't tested it end-to-end yet, because I haven't done the Xen bits yet. Perhaps Rusty can do the lguest version to verify that its all sound in principle (hint hint ;).

So, how does it look?

J