virsh: report error if vcpu number exceed the guest maxvcpu number
virsh: report error if vcpu number exceed the guest maxvcpu number

Commit id '81dd81e' caused a regression when attempting to print a
specific vcpuid that is out of the range of the maximum vcpus for
the guest, such as:

 $ virsh vcpupin $dom 1000
 VCPU: CPU Affinity
 ----------------------------------

 $

Rather than just recover the old message, let's adjust the message based
on what would be displayed for a similar failure in the set path, such as:

 $ virsh vcpupin $dom 1000
 error: vcpu 1000 is out of range of persistent cpu count 2

 $ virsh vcpupin $dom 1000 --live
 error: vcpu 1000 is out of range of live cpu count 2

 $

Signed-off-by: Luyao Huang <23d9981432efa88691fd2a71f5525bc2174f7664@redhat.com>

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