[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] RE: [PATCH] Fix xentop on pv-ops domain0
Hello, >Xentop encounters error in pv-ops domain0, because the VBD path in sysfs >changes to "/sys/devices" >Also delete the macro in xenstat_netbsd.c, because it is not used. > >Signed-off-by: Dongxiao Xu <dongxiao.xu@xxxxxxxxx> > >Best Regards, >-- Dongxiao The patch you've provided explicitly checks for a .18-xen kernel; doing so runs the risk of breaking behavior on every forward port after .18. This is quite fragile. It is my suggestion that, instead, we might utilize the patch Ian Campbell suggested some time ago. See http://lists.xensource.com/archives/html/xen-devel/2009-05/msg00299.html That patch is a small tweak: #define SYSFS_VBD_PATH "/sys/bus/xen-backend/devices" Luckily, this change satisfies legacy .18-xen, pvops, (and even older .16-xen kernels), Xenstat - while useful - is brittle enough as it is, so keeping things generic would be best. -Steve Maresca _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |