RE: libvirt remote uri format

2020-04-06 Thread Joe Muro
virt-users@redhat.com Date: 04/06/2020 04:47 AM Subject:[EXTERNAL] Re: libvirt remote uri format On Fri, 2020-04-03 at 19:37 -0500, Joe Muro wrote: > Hi, > > I am using python libvirt api to get domain information. When using a uri without specifying the socket path, an error occu

Re: libvirt remote uri format

2020-04-06 Thread Andrea Bolognani
On Mon, 2020-04-06 at 09:49 +0100, Daniel P. Berrangé wrote: > On Mon, Apr 06, 2020 at 10:45:49AM +0200, Andrea Bolognani wrote: > > The plan is to replace our use of nc with a custom virt-nc helper > > that will link against libvirt on the host side and will thus be able > > to use the default soc

Re: libvirt remote uri format

2020-04-06 Thread Daniel P . Berrangé
On Mon, Apr 06, 2020 at 10:45:49AM +0200, Andrea Bolognani wrote: > On Fri, 2020-04-03 at 19:37 -0500, Joe Muro wrote: > > Hi, > > > > I am using python libvirt api to get domain information. When using a uri > > without specifying the socket path, an error occurs. > > > > uri = "qemu+ssh://myu

Re: libvirt remote uri format

2020-04-06 Thread Daniel P . Berrangé
On Fri, Apr 03, 2020 at 07:37:19PM -0500, Joe Muro wrote: > > Hi, > > I am using python libvirt api to get domain information. When using a uri > without specifying the socket path, an error occurs. > > uri = "qemu+ssh://myu...@some.kvm.host/system" > conn = libvirt.open(uri) > > This results

Re: libvirt remote uri format

2020-04-06 Thread Andrea Bolognani
On Fri, 2020-04-03 at 19:37 -0500, Joe Muro wrote: > Hi, > > I am using python libvirt api to get domain information. When using a uri > without specifying the socket path, an error occurs. > > uri = "qemu+ssh://myu...@some.kvm.host/system" > conn = libvirt.open(uri) > > This results in the fo

libvirt remote uri format

2020-04-03 Thread Joe Muro
Hi, I am using python libvirt api to get domain information. When using a uri without specifying the socket path, an error occurs. uri = "qemu+ssh://myu...@some.kvm.host/system" conn = libvirt.open(uri) This results in the following: libvirt: XML-RPC error : internal error: received hangup ev