libvirt: Fix crash on URI without scheme
My commit 0d157957 crashes on a URI without a scheme, like via 'virsh --connect frob' Add a check on uri->server too while we are at it, and centralize them all (cherry picked from commit f1bae376)
Showing
想要评论请 注册 或 登录