[Pkg-libvirt-maintainers] Bug#596004: Bug#596004: Acknowledgement (libvirt0: xen block stats uses wrong sysfs path)
Guido Günther
agx at sigxcpu.org
Fri Sep 10 19:05:49 UTC 2010
tag 596004 +pending
thanks
Hi Gerald,
thanks a lot for the patch. Upstream pushed this with myself as author,
sorry about that. I'll make sure you're mentioned in the Debian
changelog.
Cheers,
-- Guido
On Tue, Sep 07, 2010 at 02:33:35PM -0700, Gerald Turner wrote:
> tags 596004 + patch
>
> Patch attached.
>
> --
> Gerald Turner Email: gturner at unzane.com JID: gturner at jabber.unzane.com
> GPG: 0xFA8CD6D5 21D9 B2E8 7FE7 F19E 5F7D 4D0C 3FA0 810F FA8C D6D5
> --- libvirt-0.8.3.orig/src/xen/block_stats.c 2010-03-18 05:30:08.000000000 -0700
> +++ libvirt-0.8.3/src/xen/block_stats.c 2010-09-07 12:56:09.000000000 -0700
> @@ -118,6 +118,18 @@
> int64_t r;
>
> snprintf (path, sizeof path,
> + "/sys/bus/xen-backend/devices/vbd-%d-%d/statistics/%s",
> + domid, device, str);
> + r = read_stat (path);
> + if (r >= 0) return r;
> +
> + snprintf (path, sizeof path,
> + "/sys/bus/xen-backend/devices/tap-%d-%d/statistics/%s",
> + domid, device, str);
> + r = read_stat (path);
> + if (r >= 0) return r;
> +
> + snprintf (path, sizeof path,
> "/sys/devices/xen-backend/vbd-%d-%d/statistics/%s",
> domid, device, str);
> r = read_stat (path);
> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-libvirt-maintainers
More information about the Pkg-libvirt-maintainers
mailing list