]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix check for socket existance / daemon spawn
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 25 May 2012 13:54:31 +0000 (14:54 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 28 May 2012 09:43:09 +0000 (10:43 +0100)
commit54c4d9d90bf9f9583e0db89232671c1801c61142
tree2848e4ef9c69402c4c0ed93fc2caa729a5b69250
parentebbcc0263969cc4472f4aafea8901154c790a196
Fix check for socket existance / daemon spawn

When you try to connect to a socket in the abstract namespace,
the error will be ECONNREFUSED for a non-listening daemon. With
the non-abstract namespace though, you instead get ENOENT. Add
a check for this extra errno when auto-spawning the daemon

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/rpc/virnetsocket.c