From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [patch 0/6] domain builder patches Date: Tue, 13 Mar 2007 11:04:03 +0100 Message-ID: <45F67713.7070900@suse.de> References: <20070125161916.736076000@suse.de> <1173388304.29309.42.camel@basalt> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1173388304.29309.42.camel@basalt> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Hollis Blanchard Cc: xen-devel@lists.xensource.com, ack@xensource.com List-Id: xen-devel@lists.xenproject.org Hollis Blanchard wrote: > How can I return an error message from the architecture part of the > domain builder that will be displayed by xm create? xc_dom_panic() takes an error code and a message to be printed. It's also logged with source file and line number in /var/log/xen/domain-builder-ng.log. xc_dom_printf() can be used to log (debug) messages to the same file. HTH, Gerd