qemu: Wait for monitor socket even without pid
qemu: Wait for monitor socket even without pid

If qemuMonitorOpenUnix is called without a related pid, i.e. for
QMP probing, a connect failure can happen as the result of a race.
Without a pid there is no retry and thus we give up too early.
This changes the code to retry if no pid is supplied.

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

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