[libvirt] [PATCH] Fix libxl driver startup

2011-04-01 Thread Daniel Veillard
When you happen to have a libvirtd binary compiled with the libxenlight driver (say you have installed xen-4.1 libraries) but not running a xen enabled system, then libvirtd fails to start. The cause is that libxlStartup() returns -1 when failing to initialize the library, and this propagates

Re: [libvirt] [PATCH] Fix libxl driver startup

2011-04-01 Thread Daniel P. Berrange
On Fri, Apr 01, 2011 at 05:34:27PM +0800, Daniel Veillard wrote: When you happen to have a libvirtd binary compiled with the libxenlight driver (say you have installed xen-4.1 libraries) but not running a xen enabled system, then libvirtd fails to start. The cause is that libxlStartup()

Re: [libvirt] [PATCH] Fix libxl driver startup

2011-04-01 Thread Daniel Veillard
On Fri, Apr 01, 2011 at 12:17:58PM +0100, Daniel P. Berrange wrote: On Fri, Apr 01, 2011 at 05:34:27PM +0800, Daniel Veillard wrote: When you happen to have a libvirtd binary compiled with the libxenlight driver (say you have installed xen-4.1 libraries) but not running a xen enabled