From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: Re: Error reporting capabilities for libxc Date: Mon, 23 Oct 2006 22:09:38 +0100 Message-ID: <20061023210938.GJ25795@redhat.com> References: <3AAA99889D105740BE010EB6D5A5A3B202A3B1@paddington.ad.cl.cam.ac.uk> <20061023180017.GE25795@redhat.com> <20061023210459.GA29777@totally.trollied.org> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20061023210459.GA29777@totally.trollied.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon Cc: Ian Pratt , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 -=|