<tt><font size=2>> From: "Daniel P. Berrange" <berrange@redhat.com></font></tt>
<br><tt><font size=2>> To: Ido Levy/Haifa/IBM@IBMIL, </font></tt>
<br><tt><font size=2>> Cc: libvir-list@redhat.com</font></tt>
<br><tt><font size=2>> Date: 23/11/2012 12:04 PM</font></tt>
<br><tt><font size=2>> Subject: Re: [libvirt] Remote connection to KVM
hypervisor failed <br>
> using libvirt 0.10.2</font></tt>
<br><tt><font size=2>> <br>
> On Fri, Nov 23, 2012 at 11:13:58AM +0200, Ido Levy wrote:<br>
> > > From: "Daniel P. Berrange" <berrange@redhat.com><br>
> > > To: Ido Levy/Haifa/IBM@IBMIL, <br>
> > > Cc: libvir-list@redhat.com<br>
> > > Date: 23/11/2012 10:59 AM<br>
> > > Subject: Re: [libvirt] Remote connection to KVM hypervisor
failed <br>
> > > using libvirt 0.10.2<br>
> > > <br>
> > > On Fri, Nov 23, 2012 at 07:43:12AM +0200, Ido Levy wrote:<br>
> > > > Hello,<br>
> > > > <br>
> > > > I compiled libvirt 0.10.2 from source providing extra
parameters to <br>
> > the <br>
> > > > configure procedure to support phyp and hyper-v driver
support, and <br>
> > python <br>
> > > > binding.<br>
> > > > When running virsh from the tools directory (libvirt-0.10.2/tools)
and <br>
> > <br>
> > > > trying to connect to remote KVM hypervisor using connect
<br>
> > > > qemu+ssh://user@hostname/system<br>
> > > > I got the following error<br>
> > > > error: Failed to connect to the hypervisor<br>
> > > > error: End of file while reading data: : Input/output
error<br>
> > > > <br>
> > > > The same scenario working without any issue using virsh
tool that is <br>
> > > > shipped with RHEL distribution.<br>
> > > > <br>
> > > > Any advise how can I figure out how to resolve this.<br>
> > > <br>
> > > What are the full args you passed to 'configure' ?<br>
> > > <br>
> > > Daniel<br>
> > <br>
> >  ./configure --with-python --with-phyp --with-hyperv<br>
> <br>
> Ok, that's the problem. If you want your build to be able to connect<br>
> to the RPM based build, you need to make it use the same paths. For<br>
> this you need to pass   <br>
> <br>
>    ./configure --with-python --with-phyp --with-hyperv \<br>
>        --prefix=/usr --sysconfdir=/etc --localstatedir=/var<br>
> <br>
</font></tt>
<br><tt><font size=2>Thank Much !</font></tt>
<br>
<br><tt><font size=2>Will try it</font></tt>
<br>
<br><tt><font size=2>Ido</font></tt>