phyp: Refactor extraction of vcpu count
phyp: Refactor extraction of vcpu count

To simplify further refactors change the way the vcpu count is extracted
to use a temp variable rather than juggling with def.maxvcpus.

datto/libvirt,libvirt/libvirt,VenkatDatta/libvirt,taget/libvirt,eskultety/libvirt,fabianfreyer/libvirt,libvirt/libvirt,zippy2/libvirt,rlaager/libvirt,jardasgit/libvirt,olafhering/libvirt,jfehlig/libvirt,jfehlig/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,zippy2/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,eskultety/libvirt,zippy2/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,taget/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,crobinso/libvirt,eskultety/libvirt,datto/libvirt,olafhering/libvirt,jardasgit/libvirt,rlaager/libvirt,taget/libvirt,datto/libvirt,rlaager/libvirt,rlaager/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,olafhering/libvirt,jardasgit/libvirt,taget/libvirt,eskultety/libvirt,jfehlig/libvirt,nertpinx/libvirt,andreabolognani/libvirt,nertpinx/libvirt,datto/libvirt,jfehlig/libvirt,crobinso/libvirt,taget/libvirt,fabianfreyer/libvirt,libvirt/libvirt,nertpinx/libvirt,zippy2/libvirt,fabianfreyer/libvirt,datto/libvirt,eskultety/libvirt,nertpinx/libvirt,crobinso/libvirt,VenkatDatta/libvirt,olafhering/libvirt,crobinso/libvirt,VenkatDatta/libvirt,rlaager/libvirt,libvirt/libvirt