add missing error handling to virGetDomain
add missing error handling to virGetDomain

When creating the virDomain::snapshots hash table, virGetDomain
wasn't checking if the creation was successful. This would then
lead to failures in the vir*DomainSnapshot functions. Better to
report this error early and make virGetDomain fail if the
snapshots hash couldn't be created.
* src/datatypes.c: report failure to make a hash table

kantai/libvirt-vfork,rmarwaha/libvirt,rlaager/libvirt,soulxu/libvirt-xuhj,olafhering/libvirt,fabianfreyer/libvirt,dumbbell/libvirt,fabianfreyer/libvirt,shugaoye/libvirt,kantai/libvirt-vfork,novel/fbsd-libvirt,jeckersb/libvirt,novel/fbsd-libvirt,warewolf/libvirt,foomango/libvirt,jeckersb/libvirt,rmarwaha/libvirt1,wiedi/libvirt,zhlcindy/libvirt-1.1.4-maintain,soulxu/libvirt-xuhj,danwent/libvirt-ovs,emaste/libvirt,jardasgit/libvirt,andreabolognani/libvirt,emaste/libvirt,zippy2/libvirt,cbosdo/libvirt,iam-TJ/libvirt,shugaoye/libvirt,jardasgit/libvirt,trainstack/libvirt,jeckersb/libvirt,dumbbell/libvirt,olafhering/libvirt,rlaager/libvirt,dumbbell/libvirt,rbu/libvirt,iam-TJ/libvirt,datto/libvirt,rmarwaha/libvirt1,usc-isi/libvirt,wiedi/libvirt,leilihh/libvirt,zhlcindy/libvirt-1.1.4-maintain,trainstack/libvirt,bjzhang/libvirt,warewolf/libvirt,elmarco/libvirt,rmarwaha/libvirt,taget/libvirt,usc-isi/libvirt,olafhering/libvirt,rlaager/libvirt,rmarwaha/libvirt1,andreabolognani/libvirt,datto/libvirt,elmarco/libvirt,siboulet/libvirt-openvz,jfehlig/libvirt,eskultety/libvirt,andreabolognani/libvirt,soulxu/libvirt-xuhj,warewolf/libvirt,novel/fbsd-libvirt,fabianfreyer/libvirt,agx/libvirt,taget/libvirt,bjzhang/libvirt,siboulet/libvirt-openvz,novel/fbsd-libvirt,zippy2/libvirt,crobinso/libvirt,libvirt/libvirt,kantai/libvirt-vfork,rmarwaha/libvirt,VenkatDatta/libvirt,rbu/libvirt,iam-TJ/libvirt,rbu/libvirt,soulxu/libvirt-xuhj,usc-isi/libvirt,siboulet/libvirt-openvz,elmarco/libvirt,fabianfreyer/libvirt,rmarwaha/libvirt1,warewolf/libvirt,bjzhang/libvirt,novel/fbsd-libvirt,VenkatDatta/libvirt,cbosdo/libvirt,libvirt/libvirt,andreabolognani/libvirt,trainstack/libvirt,emaste/libvirt,iam-TJ/libvirt,siboulet/libvirt-openvz,nertpinx/libvirt,foomango/libvirt,zippy2/libvirt,wiedi/libvirt,nertpinx/libvirt,emaste/libvirt,taget/libvirt,nertpinx/libvirt,novel/fbsd-libvirt,nertpinx/libvirt,crobinso/libvirt,jeckersb/libvirt,trainstack/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,elmarco/libvirt,jfehlig/libvirt,leilihh/libvirt,rmarwaha/libvirt,VenkatDatta/libvirt,wiedi/libvirt,libvirt/libvirt,warewolf/libvirt,eskultety/libvirt,warewolf/libvirt,iam-TJ/libvirt,shugaoye/libvirt,iam-TJ/libvirt,foomango/libvirt,VenkatDatta/libvirt,zippy2/libvirt,foomango/libvirt,soulxu/libvirt-xuhj,agx/libvirt,jardasgit/libvirt,jardasgit/libvirt,eskultety/libvirt,zhlcindy/libvirt-1.1.4-maintain,kantai/libvirt-vfork,agx/libvirt,novel/fbsd-libvirt,cbosdo/libvirt,datto/libvirt,andreabolognani/libvirt,danwent/libvirt-ovs,elmarco/libvirt,eskultety/libvirt,agx/libvirt,siboulet/libvirt-openvz,leilihh/libvirt,novel/fbsd-libvirt,novel/fbsd-libvirt,shugaoye/libvirt,agx/libvirt,rmarwaha/libvirt,wiedi/libvirt,dumbbell/libvirt,cbosdo/libvirt,cbosdo/libvirt,zhlcindy/libvirt-1.1.4-maintain,trainstack/libvirt,datto/libvirt,crobinso/libvirt,usc-isi/libvirt,rmarwaha/libvirt1,crobinso/libvirt,dumbbell/libvirt,jfehlig/libvirt,rbu/libvirt,leilihh/libvirt,bjzhang/libvirt,trainstack/libvirt,emaste/libvirt,jeckersb/libvirt,nertpinx/libvirt,leilihh/libvirt,danwent/libvirt-ovs,rmarwaha/libvirt1,leilihh/libvirt,jeckersb/libvirt,olafhering/libvirt,danwent/libvirt-ovs,emaste/libvirt,emaste/libvirt,trainstack/libvirt,rmarwaha/libvirt,taget/libvirt,eskultety/libvirt,rlaager/libvirt,danwent/libvirt-ovs,bjzhang/libvirt,iam-TJ/libvirt,shugaoye/libvirt,wiedi/libvirt,wiedi/libvirt,jeckersb/libvirt,rbu/libvirt,jardasgit/libvirt,foomango/libvirt,fabianfreyer/libvirt,taget/libvirt,usc-isi/libvirt,libvirt/libvirt,kantai/libvirt-vfork,warewolf/libvirt,rlaager/libvirt,datto/libvirt,dumbbell/libvirt,zhlcindy/libvirt-1.1.4-maintain