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

[Xen-devel] Re: xl: Add subcommand 'xl dmesg'

Stefano Stabellini writes ("[Xen-devel] Re: xl: Add subcommand 'xl dmesg'"):
> The implementation is good, but I think we could probably offer an
> higher level API in libxenlight than just a wrapper around
> xc_readconsolering.

I agree that a higher-level API would be good.

> I think we should have a libxl_dmesg instead of libxl_readconsolering,
> and libxl_dmesg would print dmesg itself using the libxl logging
> functions.
> The caller can setup the logging function so that dmesg is printed to
> stdout in this case.

Are we sure that calling the logging function for every line in the
ring is really what we want ?  If nothing else this will repeat
messages.

Ian.

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