Prevent overfilling of self-pipe in python event loop
Prevent overfilling of self-pipe in python event loop

If the event loop takes a very long time todo something, it is
possible for the 'self pipe' buffer to become full at which
point the entire event loop + remote driver deadlock. Use a
boolean flag to ensure we have strict one-in, one-out behaviour
on writes/reads of the 'self pipe'

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