Re: [libvirt] [PATCH] Improve error message for disabled client-side drivers

2010-06-11 Thread Eric Blake
On 06/11/2010 10:45 AM, Matthias Bolte wrote: > I started this patch like that. I added a minimal driver that does > exactly that and I edited virInitialize like this: > > # ifdef WITH_ESX > if (esxRegister() == -1) return -1; > # else > if (disabledRegister("esx") == -1) return -1; >

Re: [libvirt] [PATCH] Improve error message for disabled client-side drivers

2010-06-11 Thread Matthias Bolte
2010/6/11 Daniel P. Berrange : > On Fri, Jun 11, 2010 at 06:25:29PM +0200, Matthias Bolte wrote: >> 2010/6/11 Daniel P. Berrange : >> > On Thu, Jun 10, 2010 at 01:28:29AM +0200, Matthias Bolte wrote: >> >> Report that libvirt was built without that driver instead of >> >> trying to connect to a lib

Re: [libvirt] [PATCH] Improve error message for disabled client-side drivers

2010-06-11 Thread Daniel P. Berrange
On Fri, Jun 11, 2010 at 06:25:29PM +0200, Matthias Bolte wrote: > 2010/6/11 Daniel P. Berrange : > > On Thu, Jun 10, 2010 at 01:28:29AM +0200, Matthias Bolte wrote: > >> Report that libvirt was built without that driver instead of > >> trying to connect to a libvirtd, when we know that this is > >>

Re: [libvirt] [PATCH] Improve error message for disabled client-side drivers

2010-06-11 Thread Matthias Bolte
2010/6/11 Daniel P. Berrange : > On Thu, Jun 10, 2010 at 01:28:29AM +0200, Matthias Bolte wrote: >> Report that libvirt was built without that driver instead of >> trying to connect to a libvirtd, when we know that this is >> going to fail. >> --- >> >> I had this on my todo list for a while now, b

Re: [libvirt] [PATCH] Improve error message for disabled client-side drivers

2010-06-11 Thread Daniel P. Berrange
On Thu, Jun 10, 2010 at 01:28:29AM +0200, Matthias Bolte wrote: > Report that libvirt was built without that driver instead of > trying to connect to a libvirtd, when we know that this is > going to fail. > --- > > I had this on my todo list for a while now, because multiple people on > the mailin

Re: [libvirt] [PATCH] Improve error message for disabled client-side drivers

2010-06-09 Thread Eric Blake
On 06/09/2010 05:28 PM, Matthias Bolte wrote: > Report that libvirt was built without that driver instead of > trying to connect to a libvirtd, when we know that this is > going to fail. > --- > > I had this on my todo list for a while now, because multiple people on > the mailing list and on IRC

[libvirt] [PATCH] Improve error message for disabled client-side drivers

2010-06-09 Thread Matthias Bolte
Report that libvirt was built without that driver instead of trying to connect to a libvirtd, when we know that this is going to fail. --- I had this on my todo list for a while now, because multiple people on the mailing list and on IRC reported problems that can be summarized as: "I just built/