qemu: Fix a possible deadlock in p2p migration
qemu: Fix a possible deadlock in p2p migration

The function virUnrefConnect() may call virReleaseConnect() to release
the dest connection, and the function virReleaseConnect() will call
conn->driver->close().

So the function virUnrefConnect() should be surrounded by
qemuDomainObjEnterRemoteWithDriver() and
qemuDomainObjExitRemoteWithDriver() to prevent possible deadlock between
two communicating libvirt daemons.

See commit f0c8e1cb3774d6f09e2681ca1988bf235a343007 for further details.

Signed-off-by: Wen Congyang <59c7438a9275f5dd0b96a91958b493a9d005ad46@cn.fujitsu.com>

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