Re: [libvirt] [PATCH v3 10/11] admin: Introduce virAdmConnectGetLibVersion

2015-11-23 Thread Martin Kletzander
On Thu, Nov 19, 2015 at 10:52:35AM +0100, Erik Skultety wrote: On 16/11/15 17:42, Martin Kletzander wrote: const ADMIN_PROGRAM = 0x06900690; const ADMIN_PROTOCOL_VERSION = 1; @@ -71,5 +75,10 @@ enum admin_procedure { /** * @generate: none */ -ADMIN_PROC_CONNECT_CLOSE = 2 +

Re: [libvirt] [PATCH v3 10/11] admin: Introduce virAdmConnectGetLibVersion

2015-11-19 Thread Erik Skultety
On 16/11/15 17:42, Martin Kletzander wrote: >> const ADMIN_PROGRAM = 0x06900690; >> const ADMIN_PROTOCOL_VERSION = 1; >> @@ -71,5 +75,10 @@ enum admin_procedure { >> /** >> * @generate: none >> */ >> -ADMIN_PROC_CONNECT_CLOSE = 2 >> +ADMIN_PROC_CONNECT_CLOSE = 2, >> + >> +

Re: [libvirt] [PATCH v3 10/11] admin: Introduce virAdmConnectGetLibVersion

2015-11-16 Thread Martin Kletzander
On Fri, Nov 06, 2015 at 12:46:25PM +0100, Erik Skultety wrote: Introduce a new API to get libvirt version. It is worth noting, that libvirt-admin and libvirt share the same version number. Unfortunately, our existing API isn't generic enough to be used with virAdmConnectPtr as well. Also this

[libvirt] [PATCH v3 10/11] admin: Introduce virAdmConnectGetLibVersion

2015-11-06 Thread Erik Skultety
Introduce a new API to get libvirt version. It is worth noting, that libvirt-admin and libvirt share the same version number. Unfortunately, our existing API isn't generic enough to be used with virAdmConnectPtr as well. Also this patch wires up this API to the virt-admin client as a generic