x86: Support loading Linux bzImage v2.08 and up.
The latest -mm kernel (2.6.25-rc3-mm1) contains v2.08 of the Linux bzImage format which embeds an ELF file in place of the raw payload allowing it to be extracted and used by the Xen domain builder.
It is expected that this functionality will be put forward for 2.6.26.
Signature · 5 lines
Ian Campbell BOFH excuse #205: Quantum dynamics are affecting the transistors
# HG changeset patch
# User [email protected]
# Date 1204802215 0
# Node ID 6777c62fc986aa86f7c9195d7e4d31e6c9ec7315 # Parent 59b8768d0d0d3bf2125c33adafbd1256e75e2755
x86: Support loading Linux bzImage v2.08 and up.
The latest -mm kernel (2.6.25-rc3-mm1) contains v2.08 of the Linux bzImage format which embeds an ELF file in place of the raw payload allowing it to be extracted and used by the Xen domain builder.
It is expected that this functionality will be put forward for 2.6.26.
tools/libxc/Makefile +5 -4
@@ -46,10 +46,11 @@ GUEST_SRCS-y += libelf-dominfo.c libelf- GUEST_SRCS-y += libelf-dominfo.c libelf-relocate.c # new domain builder -GUEST_SRCS-y += xc_dom_core.c xc_dom_boot.c -GUEST_SRCS-y += xc_dom_elfloader.c -GUEST_SRCS-y += xc_dom_binloader.c -GUEST_SRCS-y += xc_dom_compat_linux.c +GUEST_SRCS-y += xc_dom_core.c xc_dom_boot.c +GUEST_SRCS-y += xc_dom_elfloader.c +GUEST_SRCS-$(CONFIG_X86) += xc_dom_bzimageloader.c +GUEST_SRCS-y += xc_dom_binloader.c +GUEST_SRCS-y += xc_dom_compat_linux.c GUEST_SRCS-$(CONFIG_X86) += xc_dom_x86.c GUEST_SRCS-$(CONFIG_IA64) += xc_dom_ia64.c
tools/libxc/xc_dom_bzimageloader.c new file +159 -0
159 lines not on this page · raw message
tools/libxc/xc_dom_elfloader.c +1 -1
@@ -281,7 +281,7 @@ static int xc_dom_load_elf_kernel(struct/* ------------------------------------------------------------------------ */ -static struct xc_dom_loader elf_loader = { +struct xc_dom_loader elf_loader = { .name ="ELF-generic" , .probe = xc_dom_probe_elf_kernel, .parser = xc_dom_parse_elf_kernel,
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 5 lines · Ian Campbell
The latest -mm kernel (2.6.25-rc3-mm1) contains v2.08 of the Linux bzImage format which embeds an ELF file in place of the raw payload allowing it to be extracted and used by the Xen domain builder.
It is expected that this functionality will be put forward for 2.6.26.
Any progress on supporting this for Dom0? i.e. adding support to the hypervisor ...
Cheers,
Mark.
Quoted 9 lines · Mark McLoughlin
Quoted 5 lines · Ian Campbell
The latest -mm kernel (2.6.25-rc3-mm1) contains v2.08 of the Linux bzImage format which embeds an ELF file in place of the raw payload allowing it to be extracted and used by the Xen domain builder.
It is expected that this functionality will be put forward for 2.6.26.
Any progress on supporting this for Dom0? i.e. adding support to the hypervisor ...
It's not something I've been looking at. My main interest was in making the Debian kernel packages work nicely in domU.
Ian.
Quoted 9 lines
Cheers,
Mark._______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 4 lines
Ian Campbell Current Noise: Rollins Band - Saying Goodbye Again You will always get the greatest recognition for the job you least like.