Red Hat Bugzilla – Bug 589059
Xen pvops kernel storage backend stats location changed
Last modified: 2016-03-20 20:09:29 EDT
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:
Author: Guido Günther <firstname.lastname@example.org>
Date: Fri Sep 10 15:57:35 2010 +0200
Fix block statistics with newer versions of Xen