libelf and the new domain builder
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | Generate headers with arch-specific structs.tools/ xen/ xen/ +4 more | +314 | 0 replies | |
| 2/10 | add libelf: an ELF binary parser library.tools/ xen/ xen/ +10 more | +1933 | 0 replies | |
| 3/10 | libelf: use for x86 dom0 builder.xen/ xen/ | +85 | 0 replies | |
| 4/10 | libelf: add to libxctools/ | +15 | 0 replies | |
| 5/10 | libelf: use for hvm builder.tools/ | +65 | 0 replies | |
| 6/10 | libelf: use for readnotes utility.tools/ | +45 | 0 replies | |
| 7/10 | libxc header fixups.tools/ | +67 | 0 replies | |
| 8/10 | libxc domain builder rewrite, core bits.tools/ tools/ tools/ +6 more | +2882 | 0 replies | |
| 9/10 | libxc domain builder rewrite, linux buildertools/ tools/ | +141 | 0 replies | |
| 10/10 | Support transparant gunzipping in the readnotes utility.tools/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 00/10] libelf and the new domain builder
Hi,
This is a patchset with the rewritten domain builder for the xen tools.
The ELF parsing bits of the domain builder rewrite have been factored out recently, so the patchset adds these first and the domain builder on top of that.
The ELF parser code is used by both xen kernel (for the dom0 builder) and the tools (via libxc). It switches endianess and elfsize at runtime. We'll need that for 32-on-64 support comming soon and it likely also is handy for the bigendian experiments some ia64 guys are doing.
The new domain builder builds on top of libelf. It's a redesign and major rewrite of the domU generic domain builder. I've tried to make all architectures use the same code as far as possible to avoid cut&paste of code (and bugs!). It is also prepared to handle 32-on-64, only the hypercalls for the mode setting need to be added.
Current state:
x86_32(p), x86_64
- should work without problems.
ia64
- not looked yet at the dom0 builder.
- tools are compile-tested now and then, they should at least build and might even work although that is completely untested.
powerpc
- some code lines are there. It is incomplete and I didn't even compile it.
The patches (and a few more ...) are also available for download from
http://www.suse.de/~kraxel/patches/unstable-hg12663-20061201-quilt/
Reviews, questions, comments are welcome.
Also patches of course, especially for !x86 ...
cheers,
Gerd
--