[libvirt] virsh vcpuinfo with tcg

Serge Hallyn serge.hallyn at ubuntu.com
Mon Feb 9 15:20:28 UTC 2015


Hi,

'virsh vcpuinfo' in 1.2.12 returns an empty line for VMs using tcg.  I
assume this is due to commit b07f3d821dfb11 which explicitly sets
nvcpupids to 0 now.  Is 'virsh vcpuinfo' returning nothing just an
unfortunate but expected side-effect, or is it a bug and it should
return info anyway?  My impression is that qemu_driver.c should be
using vm->def->vcpus rather than priv->nvcpupids to determine the
# of cpus to show?

thanks,
-serge




More information about the libvir-list mailing list