qemu: Avoid deadlock on HandleAgentEOF
qemu: Avoid deadlock on HandleAgentEOF

On agent EOF the qemuProcessHandleAgentEOF() callback is called
which locks virDomainObjPtr. Then qemuAgentClose() is called
(with domain object locked) which eventually calls qemuAgentDispose()
and qemuProcessHandleAgentDestroy(). This tries to lock the
domain object again. Hence the deadlock.

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