wrong path of domblkstat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all:

I tried to use virsh domblkstat to get block information of a vm(xen
para-virtualized), and it returns error message like this
     error: Failed to get block stats vm1 hda
     error: internal error read_bd_stats: Failed to read any block statistics

I found the code in \src\xen\block_stats.c is wrong

in line 121
             "/sys/devices/xen-backend/vbd-%d-%d/statistics/%s",
should be
            "/sys/devices/vbd-%d-%d/statistics/%s",
in line 127 should be
           "/sys/devices/tap-%d-%d/statistics/%s",

After modified and rebuild the soure code,the domblkstat can work fine.
Anyone can help to update the code in the git?

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]