Created attachment 411526 [details] fix block_stats for xen/pvops kernel As stated in http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1454 "/sys/devices/xen-backend/" changed to "/sys/bus/xen-backend/". Therefor libvirt (virsh, virt-manager, ...) are unable to report storage backend performance numbers. This seems to be true for all new Xen pv-ops kernels (2.6.3X) The attached patch tries to fix this by appending that path to "read_bd_stat" in "src/xen/block_stats.c".
Sorry this patch was never reviewed... a similar patch was eventually applied upstream: commit 8a70113a9949fd482151f2962dd760364525a996 Author: Guido Günther <agx> Date: Fri Sep 10 15:57:35 2010 +0200 Fix block statistics with newer versions of Xen