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] [patch 0/6] domain builder patches

To: Hollis Blanchard <hollisb@xxxxxxxxxx>
Subject: Re: [Xen-devel] [patch 0/6] domain builder patches
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Tue, 13 Mar 2007 11:04:03 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, ack@xxxxxxxxxxxxx
Delivery-date: Tue, 13 Mar 2007 03:03:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1173388304.29309.42.camel@basalt>
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: <20070125161916.736076000@xxxxxxx> <1173388304.29309.42.camel@basalt>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (X11/20060911)
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

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

<Prev in Thread] Current Thread [Next in Thread>