On 11/18/2010 10:56 AM, Richard W.M. Jones wrote:
> snprintf (path, sizeof path,
> - "/sys/devices/xen-backend/tap-%d-%d/statistics/%s",
> + "/sys/devices/tap-%d-%d/statistics/%s",
> domid, device, str);
> r = read_stat (path);
> return r;
> ----------------------------------------------------------------------
Paolo, is there a correct location for these statistics directories?
(It would have to work on RHEL 5 as well as upstream Xen).
You could try /sys/bus/xen-backend/devices/*. Hui, do you have that
directory?
Paolo
_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list