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]: Implement xl dump-core

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


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

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