Re: [PATCH 2/3] cgroup: fix a typo on extracting data from vcpu cgroup

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

 



On 2012年08月31日 17:22, Guannan Ren wrote:
---
  src/qemu/qemu_driver.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 5670ca0..5081b52 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -13460,7 +13460,7 @@ getSumVcpuPercpuStats(virCgroupPtr group,
              goto cleanup;
          }

-        if (virCgroupGetCpuacctPercpuUsage(group,&buf)<  0)
+        if (virCgroupGetCpuacctPercpuUsage(group_vcpu,&buf)<  0)
              goto cleanup;

          pos = buf;

ACK.

--
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]