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: John Levon <levon@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Error reporting capabilities for libxc
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Mon, 23 Oct 2006 22:09:38 +0100
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 23 Oct 2006 14:10:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061023210459.GA29777@xxxxxxxxxxxxxxxxxxxx>
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> <20061023210459.GA29777@xxxxxxxxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Mon, Oct 23, 2006 at 10:04:59PM +0100, John Levon wrote:
> 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.

Ah yes, I hadn't noticed there were xen-unstable changes in this area. I
did the patch against 3.0.3  final release. I'll rebase to xen-unstable
before posting again.

> 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!!)

Thats good news, thanks for testing it.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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