qemu: Re-detect virtual cpu threads after cpu hot (un)plug.
qemu: Re-detect virtual cpu threads after cpu hot (un)plug.

After a cpu hotplug the qemu driver did not refresh information about
virtual processors used by qemu and their corresponding threads. This
patch forces a re-detection as is done on start of QEMU.

This ensures that correct information is reported by the
virDomainGetVcpus API and "virsh vcpuinfo".

A failure to obtain the thread<->vcpu mapping is treated non-fatal and
the mapping is not updated in a case of failure as not all versions of
QEMU report this in the info cpus command.

rmarwaha/libvirt1,novel/fbsd-libvirt,nertpinx/libvirt,trainstack/libvirt,libvirt/libvirt,warewolf/libvirt,datto/libvirt,rmarwaha/libvirt1,novel/fbsd-libvirt,andreabolognani/libvirt,shugaoye/libvirt,trainstack/libvirt,trainstack/libvirt,emaste/libvirt,taget/libvirt,warewolf/libvirt,rlaager/libvirt,rmarwaha/libvirt,cbosdo/libvirt,siboulet/libvirt-openvz,trainstack/libvirt,emaste/libvirt,rlaager/libvirt,jardasgit/libvirt,trainstack/libvirt,cbosdo/libvirt,jfehlig/libvirt,andreabolognani/libvirt,siboulet/libvirt-openvz,jeckersb/libvirt,taget/libvirt,andreabolognani/libvirt,dumbbell/libvirt,olafhering/libvirt,bjzhang/libvirt,novel/fbsd-libvirt,jeckersb/libvirt,crobinso/libvirt,jeckersb/libvirt,VenkatDatta/libvirt,VenkatDatta/libvirt,novel/fbsd-libvirt,rlaager/libvirt,novel/fbsd-libvirt,rmarwaha/libvirt,emaste/libvirt,warewolf/libvirt,shugaoye/libvirt,warewolf/libvirt,iam-TJ/libvirt,jeckersb/libvirt,fabianfreyer/libvirt,bjzhang/libvirt,shugaoye/libvirt,andreabolognani/libvirt,agx/libvirt,emaste/libvirt,dumbbell/libvirt,zippy2/libvirt,rmarwaha/libvirt1,jardasgit/libvirt,andreabolognani/libvirt,bjzhang/libvirt,cbosdo/libvirt,datto/libvirt,bjzhang/libvirt,rmarwaha/libvirt,VenkatDatta/libvirt,warewolf/libvirt,siboulet/libvirt-openvz,iam-TJ/libvirt,eskultety/libvirt,dumbbell/libvirt,datto/libvirt,nertpinx/libvirt,taget/libvirt,iam-TJ/libvirt,wiedi/libvirt,dumbbell/libvirt,jeckersb/libvirt,eskultety/libvirt,jfehlig/libvirt,dumbbell/libvirt,taget/libvirt,agx/libvirt,rmarwaha/libvirt1,nertpinx/libvirt,rmarwaha/libvirt,wiedi/libvirt,eskultety/libvirt,wiedi/libvirt,novel/fbsd-libvirt,zhlcindy/libvirt-1.1.4-maintain,libvirt/libvirt,olafhering/libvirt,iam-TJ/libvirt,bjzhang/libvirt,crobinso/libvirt,libvirt/libvirt,rlaager/libvirt,trainstack/libvirt,trainstack/libvirt,crobinso/libvirt,VenkatDatta/libvirt,agx/libvirt,fabianfreyer/libvirt,shugaoye/libvirt,elmarco/libvirt,novel/fbsd-libvirt,rlaager/libvirt,novel/fbsd-libvirt,jeckersb/libvirt,olafhering/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,eskultety/libvirt,jardasgit/libvirt,elmarco/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,wiedi/libvirt,elmarco/libvirt,warewolf/libvirt,rmarwaha/libvirt,dumbbell/libvirt,iam-TJ/libvirt,datto/libvirt,olafhering/libvirt,wiedi/libvirt,jeckersb/libvirt,libvirt/libvirt,datto/libvirt,iam-TJ/libvirt,emaste/libvirt,jfehlig/libvirt,nertpinx/libvirt,siboulet/libvirt-openvz,zhlcindy/libvirt-1.1.4-maintain,cbosdo/libvirt,cbosdo/libvirt,iam-TJ/libvirt,elmarco/libvirt,jfehlig/libvirt,taget/libvirt,elmarco/libvirt,jardasgit/libvirt,wiedi/libvirt,wiedi/libvirt,warewolf/libvirt,rmarwaha/libvirt,siboulet/libvirt-openvz,eskultety/libvirt,VenkatDatta/libvirt,zippy2/libvirt,zippy2/libvirt,agx/libvirt,agx/libvirt,rmarwaha/libvirt1,emaste/libvirt,nertpinx/libvirt,emaste/libvirt,zhlcindy/libvirt-1.1.4-maintain,zhlcindy/libvirt-1.1.4-maintain,zippy2/libvirt,rmarwaha/libvirt1,zhlcindy/libvirt-1.1.4-maintain,shugaoye/libvirt,crobinso/libvirt,novel/fbsd-libvirt