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

[Xen-changelog] [xen-unstable] libxl: publish number of paged pages.



# HG changeset patch
# User Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx>
# Date 1331652894 0
# Node ID 0c4385ac103d1283cfbba31ca8f5cd9d520ff8f0
# Parent  9e2c6d4a0da0bd1c86598244f7f5284eff1fbbdd
libxl: publish number of paged pages.

This is information is currently not harvested from libxc.

Signed-off-by: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 9e2c6d4a0da0 -r 0c4385ac103d tools/libxl/libxl.c
--- a/tools/libxl/libxl.c       Tue Mar 13 15:32:10 2012 +0000
+++ b/tools/libxl/libxl.c       Tue Mar 13 15:34:54 2012 +0000
@@ -460,6 +460,7 @@
 
     xlinfo->current_memkb = PAGE_TO_MEMKB(xcinfo->tot_pages);
     xlinfo->shared_memkb = PAGE_TO_MEMKB(xcinfo->shr_pages);
+    xlinfo->paged_memkb = PAGE_TO_MEMKB(xcinfo->paged_pages);
     xlinfo->max_memkb = PAGE_TO_MEMKB(xcinfo->max_pages);
     xlinfo->cpu_time = xcinfo->cpu_time;
     xlinfo->vcpu_max_id = xcinfo->max_vcpu_id;
diff -r 9e2c6d4a0da0 -r 0c4385ac103d tools/libxl/libxl_types.idl
--- a/tools/libxl/libxl_types.idl       Tue Mar 13 15:32:10 2012 +0000
+++ b/tools/libxl/libxl_types.idl       Tue Mar 13 15:34:54 2012 +0000
@@ -175,6 +175,7 @@
     ("shutdown_reason", libxl_shutdown_reason),
     ("current_memkb",   MemKB),
     ("shared_memkb", MemKB),
+    ("paged_memkb", MemKB),
     ("max_memkb",   MemKB),
     ("cpu_time",    uint64),
     ("vcpu_max_id", uint32),

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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