Bug 589059 - Xen pvops kernel storage backend stats location changed
Summary: Xen pvops kernel storage backend stats location changed
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-05 09:29 UTC by Adi Kriegisch
Modified: 2016-03-21 00:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-03-21 00:09:29 UTC

Attachments (Terms of Use)
fix block_stats for xen/pvops kernel (726 bytes, patch)
2010-05-05 09:29 UTC, Adi Kriegisch
no flags Details | Diff

Description Adi Kriegisch 2010-05-05 09:29:42 UTC
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".

Comment 1 Cole Robinson 2016-03-21 00:09:29 UTC
Sorry this patch was never reviewed...  a similar patch was eventually applied upstream:

commit 8a70113a9949fd482151f2962dd760364525a996
Author: Guido Günther <agx@sigxcpu.org>
Date:   Fri Sep 10 15:57:35 2010 +0200

    Fix block statistics with newer versions of Xen

Note You need to log in before you can comment on or make changes to this bug.