S390: Fixed core identification for s390
S390: Fixed core identification for s390

For the s390x architecture the sysfs core_id alone is not unique. As a
result it can happen that libvirt thinks there are less host CPUs available
than really present.
Currently, a logical CPU is equivalent to a core for s390x. We therefore
produce a fake core id from the CPU number.

Signed-off-by: Viktor Mihajlovski <a96a137ca8976b5ff3114c85be7aeb3b6464dad7@linux.vnet.ibm.com>

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