[libvirt-users] using more than 1 core by a virtual machine

Zvi Dubitzky DUBI at il.ibm.com
Wed Mar 16 18:04:01 UTC 2011


My virtual machine xml file has <vcpu>2</vcpu>  clause  while the host has 
2 physical cpus (cores).
Is this enough to cause a VM  running 2 endless loop threads  to use the 2 
 cores ?
In my case the VM running reports (cat /roc/cpuinfo) that it has 2 vcpus 
but it uses only 1 core (at a time)  because
the 'top' at the host shows 100%cpu   (out of total 200%)  used by the 
endless loop application 
Also virsh vcpuinfo <vm> shows only 1 CPU and 1 vcpu

any idea ?

thanks

Zvi Dubitzky 
Email:dubi at il.ibm.com




More information about the libvirt-users mailing list