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

[Xen-changelog] [xen-unstable] libxl: Correct paths in libxl__fill_dom0_memory_info function



# HG changeset patch
# User Eamon Walsh <ewalsh@xxxxxxxxxxxxx>
# Date 1294334893 0
# Node ID 99555fe2c817c90f26b67c034c576ddb39ebc9be
# Parent  4c2efce5a808bf9ea06aa8c4f1c00685ecc4cd2a
libxl: Correct paths in libxl__fill_dom0_memory_info function

Signed-off-by: Eamon Walsh <ewalsh@xxxxxxxxxxxxx>
Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/libxl/libxl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 4c2efce5a808 -r 99555fe2c817 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c       Thu Jan 06 17:26:53 2011 +0000
+++ b/tools/libxl/libxl.c       Thu Jan 06 17:28:13 2011 +0000
@@ -2838,8 +2838,8 @@ retry_transaction:
     t = xs_transaction_start(ctx->xsh);
 
     target = libxl__xs_read(gc, t, target_path);
-    staticmax = libxl__xs_read(gc, t, target_path);
-    freememslack = libxl__xs_read(gc, t, target_path);
+    staticmax = libxl__xs_read(gc, t, max_path);
+    freememslack = libxl__xs_read(gc, t, free_mem_slack_path);
     if (target && staticmax && freememslack) {
         rc = 0;
         goto out;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
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®.