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

Re: [Xen-devel] Error reporting capabilities for libxc

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] Error reporting capabilities for libxc
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Mon, 23 Oct 2006 22:04:59 +0100
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 23 Oct 2006 14:05:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061023180017.GE25795@xxxxxxxxxx>
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>
References: <3AAA99889D105740BE010EB6D5A5A3B202A3B1@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20061023180017.GE25795@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Mon, Oct 23, 2006 at 07:00:17PM +0100, Daniel P. Berrange wrote:

> Attached is an update to the original patch which annotates the static
> variables with __thread so that they are setup per-thread. It also adds
> more informative error reporting for bad kernels.

It needs merging with latest tip I think. xc_private.h is missing a
prototype for xc_set_error(), so it doesn't compile. Also it
re-introduces ERR(), which causes problems for us, and can just be
removed.

I fixed these two problems and did some simple tests on Solaris; all
seems OK:

bash-3.00# xm create -c johnlev-64.py
Using config file "johnlev-64.py".
Error: [2, 'Invalid kernel', "Kernel ELF architecture '62' does not match Xen 
architecture '3' (i386)"]

(It's so wonderful to get a meaningful error message at last!!)

regards
john

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