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

[Xen-changelog] [xen-unstable] xenstat: Use backend path which is compatible with pvops and 2.6.18-xen kernels.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1246971690 -3600
# Node ID 65a68b980cc3027b150a52c51e9a46fef8bb8a8d
# Parent  d768628c28a4b7de4a4c017fb39d1d17b65d011b
xenstat: Use backend path which is compatible with pvops and 2.6.18-xen kernels.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 tools/xenstat/libxenstat/src/xenstat_linux.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r d768628c28a4 -r 65a68b980cc3 
tools/xenstat/libxenstat/src/xenstat_linux.c
--- a/tools/xenstat/libxenstat/src/xenstat_linux.c      Mon Jul 06 11:58:02 
2009 +0100
+++ b/tools/xenstat/libxenstat/src/xenstat_linux.c      Tue Jul 07 14:01:30 
2009 +0100
@@ -31,7 +31,7 @@
 
 #include "xenstat_priv.h"
 
-#define SYSFS_VBD_PATH "/sys/devices/xen-backend/"
+#define SYSFS_VBD_PATH "/sys/bus/xen-backend/devices"
 
 struct priv_data {
        FILE *procnetdev;

_______________________________________________
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®.