qemu: better detection of crashed domains
qemu: better detection of crashed domains

When libvirtd is started and there is an unusable/not-connectable
leftover from earlier started machine, it's more reasonable to say
that the machine "crashed" if we know it was started with
"-no-shutdown".
This patch fixes that and also changes the other result (when machine
was started without "-no-shutdown") to "unknown", because the previous
"failed" reason means (according to include/libvirt/libvirt.h.in:174),
that the machine failed to start.

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