]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: socket: Don't repeatedly attempt to launch daemon
authorCole Robinson <crobinso@redhat.com>
Tue, 12 Jan 2016 01:13:38 +0000 (20:13 -0500)
committerCole Robinson <crobinso@redhat.com>
Thu, 21 Jan 2016 00:13:32 +0000 (19:13 -0500)
commit40df40f35a2c9a63cb42353824691f11eed41254
tree7321b261709ad9a49a8bcf61baad6726e497356e
parent2e4d173b49949615c9820e495ae16352ac55c585
rpc: socket: Don't repeatedly attempt to launch daemon

On every socket connect(2) attempt we were re-launching session
libvirtd, up to 100 times in 5 seconds.

This understandably caused some weird load races and intermittent
qemu:///session startup failures

https://bugzilla.redhat.com/show_bug.cgi?id=1271183
(cherry picked from commit 2eb7a975756d05a5b54ab4acf60083beb6161ac6)
src/rpc/virnetsocket.c