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-changelog

[Xen-changelog] [xen-unstable] libxl: Expose number of shared pages

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] libxl: Expose number of shared pages
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Sat, 01 Oct 2011 03:33:10 +0100
Delivery-date: Fri, 30 Sep 2011 19:33:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Adin Scannell <adin@xxxxxxxxxxxxxxx>
# Date 1317306364 -3600
# Node ID 145e146876b33d783e18a8ac5ebb8180f40d1720
# Parent  7998217630e236639825d4db174c852cfa18e709
libxl: Expose number of shared pages

Signed-off-by: Adin Scannell <adin@xxxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 7998217630e2 -r 145e146876b3 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c       Wed Sep 28 16:42:11 2011 +0100
+++ b/tools/libxl/libxl.c       Thu Sep 29 15:26:04 2011 +0100
@@ -355,6 +355,7 @@
         xlinfo->shutdown_reason  = ~0;
 
     xlinfo->current_memkb = PAGE_TO_MEMKB(xcinfo->tot_pages);
+    xlinfo->shared_memkb = PAGE_TO_MEMKB(xcinfo->shr_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 7998217630e2 -r 145e146876b3 tools/libxl/libxl.idl
--- a/tools/libxl/libxl.idl     Wed Sep 28 16:42:11 2011 +0100
+++ b/tools/libxl/libxl.idl     Thu Sep 29 15:26:04 2011 +0100
@@ -102,6 +102,7 @@
 Otherwise set to a value guaranteed not to clash with any valid
 SHUTDOWN_* constant."""),
     ("current_memkb",   uint64),
+    ("shared_memkb", uint64),
     ("max_memkb",   uint64),
     ("cpu_time",    uint64),
     ("vcpu_max_id", uint32),

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] libxl: Expose number of shared pages, Xen patchbot-unstable <=