qemu: Fix condition for checking vcpu when pinning vcpus
qemu: Fix condition for checking vcpu when pinning vcpus

Previously we checked that the vcpu we are trying to set is in range of
the number of threads presented by qemu. The problem is that if the VM
is offline the count is 0. Since the condition subtracted 1 from the
count the number would overflow and the check would never trigger.

Change the condition for more sensible ones with specific error
messages.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1208434

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