
30 Jul
2012
30 Jul
'12
3:52 p.m.
On 07/26/12 12:57, Jiri Denemark wrote:
On Tue, Jul 24, 2012 at 14:17:01 +0100, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange@redhat.com>
Define new virConnect{Register,Unregister}CloseCallback() public APIs which allows registering/unregistering a callback to be invoked when the connection to a hypervisor is closed. The callback is provided with the reason for the close, which may be 'error', 'eof' or 'keepalive'.
This patch misses implementation of python bindings for this API functions. I pushed commit 72f55fac10a901bb0d953698b71e26f01b2db3c that fixes the build (skips generating of this function bodies as the generator can't do it) but they'll need to be implemented in a followup patch. Peter