WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [patch 00/10] libelf and the new domain builder

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [patch 00/10] libelf and the new domain builder
From: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Date: Fri, 01 Dec 2006 16:02:24 +0100
Delivery-date: Mon, 04 Dec 2006 02:05:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: quilt/0.44-15
  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

--

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel