Displaying 5 results from an estimated 5 matches for "virconnectunregisterclosecallback".
2016 Mar 04
2
[libvirt-1.3.2]'Disconnected from qemu:///session due to I/O error'
.../etc/libvirt attached), libvirt-1.3.1 works without problems.
From the virsh debug log(attached):
---
grep error virsh.log.1.3.2
2016-03-03 19:19:20.338+0000: 5589: error : virNetSocketReadWire:1613 : End of file while reading data: Input/output error
2016-03-03 19:19:46.261+0000: 5578: error : virConnectUnregisterCloseCallback:1282 : Requested operation is not valid: A different callback was requested
2016-03-03 19:22:59.308+0000: 14487: error : virNetSocketReadWire:1613 : End of file while reading data: Input/output error
2016-03-03 19:23:29.247+0000: 14486: error : virConnectUnregisterCloseCallback:1282 : Requested ope...
2016 Mar 05
0
Re: [libvirt-1.3.2]'Disconnected from qemu:///session due to I/O error'
...rt-1.3.1 works without problems.
>
> From the virsh debug log(attached):
> ---
> grep error virsh.log.1.3.2
> 2016-03-03 19:19:20.338+0000: 5589: error : virNetSocketReadWire:1613 : End of file while reading data: Input/output error
> 2016-03-03 19:19:46.261+0000: 5578: error : virConnectUnregisterCloseCallback:1282 : Requested operation is not valid: A different callback was requested
> 2016-03-03 19:22:59.308+0000: 14487: error : virNetSocketReadWire:1613 : End of file while reading data: Input/output error
> 2016-03-03 19:23:29.247+0000: 14486: error : virConnectUnregisterCloseCallback:1282 : Req...
2016 Jul 24
2
Lifecycle of a connection to libvirtd
Hey!
I am trying to figure out how to reliably maintain a connection to
libvirtd. From the documentation, I would expect something like that:
- virConnectOpen()
- virConnectRegisterCloseCallback()
- virConnectSetKeepAlive()
- Application logic
And in the registered callback, I would:
- virConnectUnregisterCloseCallback()
- virConnectClose()
- virConnectOpen()
- virConnectRegisterCloseCallback()
- virConnectSetKeepAlive()
However, looking at the source code of virsh, I see that it additional
stuff, notably:
- virConnectIsAlive()
- checking error codes of all calls to check if they are the result of
a di...
2016 Jul 25
0
Re: Lifecycle of a connection to libvirtd
...to reliably maintain a connection to
>libvirtd. From the documentation, I would expect something like that:
>
> - virConnectOpen()
> - virConnectRegisterCloseCallback()
> - virConnectSetKeepAlive()
> - Application logic
>
>And in the registered callback, I would:
>
> - virConnectUnregisterCloseCallback()
> - virConnectClose()
> - virConnectOpen()
> - virConnectRegisterCloseCallback()
> - virConnectSetKeepAlive()
>
>However, looking at the source code of virsh, I see that it additional
>stuff, notably:
>
> - virConnectIsAlive()
> - checking error codes of all calls to...
2013 Sep 18
0
libvirt report error "error: End of file while reading data: Input/output error" when start domain
...ug : virObjectUnref:256 : OBJECT_UNREF: obj=0x2aad62a2bb0
debug : virObjectUnref:258 : OBJECT_DISPOSE: obj=0x2aad62a2bb0
debug : virDomainDispose:262 : release domain 0x2aad62a2bb0 vm1
22d16da9-e05d-4e0f-bab4-bbacdfb82c92
debug : virObjectUnref:256 : OBJECT_UNREF: obj=0x2aad62a1e10
debug : virConnectUnregisterCloseCallback:21400 : conn=0x2aad62a1e10
error : virConnectUnregisterCloseCallback:21417 : Requested operation
is not valid: A different callback was requested
debug : virConnectClose:1501 : conn=0x2aad62a1e10
debug : virObjectUnref:256 : OBJECT_UNREF: obj=0x2aad62a1e10
debug : virConnectOpenAuth:1457 :...