Re: [libvirt] [PATCH v3 1.5/11] admin: introduce virAdmGetVersion

2015-11-30 Thread Erik Skultety
>> +/** >> + * virAdmGetVersion: >> + * @libVer: where to store the library version >> + * >> + * Provides version information. @libVer is the version of the >> library and will >> + * allways be set unless an error occurs in which case an error code >> and a >> + * generic message will be

Re: [libvirt] [PATCH v3 1.5/11] admin: introduce virAdmGetVersion

2015-11-27 Thread Martin Kletzander
On Thu, Nov 26, 2015 at 04:43:37PM +0100, Erik Skultety wrote: Unfortunately, client side version retrieval API virGetVersion uses one-time initialization (due to the fact we might not have initialized the library by calling connect prior to this) which is not completely compatible with admin

[libvirt] [PATCH v3 1.5/11] admin: introduce virAdmGetVersion

2015-11-26 Thread Erik Skultety
Unfortunately, client side version retrieval API virGetVersion uses one-time initialization (due to the fact we might not have initialized the library by calling connect prior to this) which is not completely compatible with admin initialization. This API is rather simplistic and reimplementing it