[libvirt] virsh vcpuinfo always returns CPU=0

Shi Jin jinzishuai at yahoo.com
Wed Sep 2 16:37:15 UTC 2009


Hi there,

I wonder what does the CPU entry stands for in the output of vcpuinfo. I guess it is the CPU utilization rate, right?

For both Ubuntu 9.04 (virsh version 0.6.1) and RHEL 5.4 (version 0.6.3), I always get the returned CPU value to be 0, no matter how busy the CPU can be and how many VCPU is used.
For example,
onnecting to uri: qemu:///system
VCPU:           0
CPU:            0
State:          running
CPU Affinity:   yyyyyyyyyyyyyyyy

VCPU:           1
CPU:            0
State:          running
CPU Affinity:   yyyyyyyyyyyyyyyy


Is this a problem and how do I fix it?

Thank you very much.
--
Shi Jin, PhD


      




More information about the libvir-list mailing list