[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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.

|=- 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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.