[libvirt] [PATCH 26/29] remote: refactor the code for choosing the UNIX socket path