[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 6 of 8] Tools: Allow libxl/xl to expose the total number of shared frames and space saved



On Fri, 2011-12-09 at 23:15 +0000, Andres Lagar-Cavilla wrote:
> diff -r 6e8b8fb2c8b2 -r 3fc7875c8d98 tools/libxl/libxl.h
> --- a/tools/libxl/libxl.h
> +++ b/tools/libxl/libxl.h
> @@ -350,6 +350,9 @@ int libxl_domain_rename(libxl_ctx *ctx, 
>  int libxl_domain_pause(libxl_ctx *ctx, uint32_t domid);
>  int libxl_domain_unpause(libxl_ctx *ctx, uint32_t domid);
>  
> +long libxl_sharing_used_frames(libxl_ctx *ctx);
> +long libxl_sharing_freed_pages(libxl_ctx *ctx);

I'm undecided but perhaps it would be appropriate to add these to
libxl_physinfo? In which case the output of "xl physinfo" or "xl info"
would be a nice home for these. Or perhaps a new meminfo or hostinfo
struct?

Ian.


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.