[libvirt] [PATCH 1/7] util: improve user lookup helper