From: Gianni Tedesco Subject: Re: [PATCH]: Implement xl dump-core Date: Wed, 21 Jul 2010 16:59:09 +0100 Message-ID: <1279727949.1723.1988.camel@qabil.uk.xensource.com> References: <1279549426.1723.1880.camel@qabil.uk.xensource.com> <19527.5651.262214.808222@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <19527.5651.262214.808222@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: Xen Devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Wed, 2010-07-21 at 16:45 +0100, Ian Jackson wrote: > Gianni Tedesco writes ("[Xen-devel] [PATCH]: Implement xl dump-core"): > > +int libxl_domain_core_dump(struct libxl_ctx *ctx, uint32_t domid, const char *filename) > > Not that there's anything wrong with your patch, but why do these > calls (by which I mean to include the libxc call) take a filename > rather than an fd ? It's a mystery to me too. Although in the core dump case there is a separate call, xc_domain_dumpcore_via_callback, which takes a callback function through which such functionality may be implemented. Gianni