Re: [libvirt] [PATCH 1/7] admin: Introduce virAdmServerLookupClient

2016-05-04 Thread Erik Skultety
>> diff --git a/include/libvirt/virterror.h b/include/libvirt/virterror.h >> index c6abdf7..2ec560e 100644 >> --- a/include/libvirt/virterror.h >> +++ b/include/libvirt/virterror.h >> @@ -314,6 +314,7 @@ typedef enum { >> VIR_ERR_MIGRATE_FINISH_OK = 93, /* Finish API succeeded but it is

Re: [libvirt] [PATCH 1/7] admin: Introduce virAdmServerLookupClient

2016-05-03 Thread Ján Tomko
On Fri, Apr 29, 2016 at 03:45:53PM +0200, Erik Skultety wrote: > Just like with server-related APIs, before any of client-based APIs can be > called, a reference to a client-side client object needs to be obtained. For > this purpose, a lookup method should exist. Apart from the client retrieval >

[libvirt] [PATCH 1/7] admin: Introduce virAdmServerLookupClient

2016-04-29 Thread Erik Skultety
Just like with server-related APIs, before any of client-based APIs can be called, a reference to a client-side client object needs to be obtained. For this purpose, a lookup method should exist. Apart from the client retrieval logic, a new error code for non-existent client had to be added as