debuggers.hg

changeset 19941:65a68b980cc3

xenstat: Use backend path which is compatible with pvops and 2.6.18-xen kernels.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jul 07 14:01:30 2009 +0100 (2009-07-07)
parents d768628c28a4
children c1541cc7e985
files tools/xenstat/libxenstat/src/xenstat_linux.c
line diff
     1.1 --- a/tools/xenstat/libxenstat/src/xenstat_linux.c	Mon Jul 06 11:58:02 2009 +0100
     1.2 +++ b/tools/xenstat/libxenstat/src/xenstat_linux.c	Tue Jul 07 14:01:30 2009 +0100
     1.3 @@ -31,7 +31,7 @@
     1.4  
     1.5  #include "xenstat_priv.h"
     1.6  
     1.7 -#define SYSFS_VBD_PATH "/sys/devices/xen-backend/"
     1.8 +#define SYSFS_VBD_PATH "/sys/bus/xen-backend/devices"
     1.9  
    1.10  struct priv_data {
    1.11  	FILE *procnetdev;