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@xxxxxxx>
Date: Mon, 04 Dec 2006 11:58:24 +0100
Delivery-date: Mon, 04 Dec 2006 02:59:34 -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 folks,

This patch series introduces the rewritten domain builder code.  It
comes in three major pieces:

  (1) A script to generate headers which contain architecture-specific
      structs and defines, but are usable on other architectures.

  (2) libelf: new elf parser code.  It can be used in both xen kernel
      and the tools.  Switches endianess and elfsize at runtime.

  (3) The rewritten domain builder code itself, which depends on the
      two pieces above.

Main goal of the domain builder rewrite are:

  * a general code cleanup
  * more code sharing between architectures
  * keep the part of the code which does hypercalls as small as possible
    (needed to reuse the code for domU kexec).

The libelf bits are a nice side effect of the code restruction ;)

The domain builder will also be able to handle 32-on-64 PV guests
without much hassle, just the hypercalls for 32/64 mode switching need
to be added once the kernel bits of the 32-on-64 code are merged.

More detailed comments are in the individual patches.

Current plan is to merge this early in the 3.0.5 development cycle.

comments?  reviews?  questions?

cheers,
  Gerd


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