Hi
My test environment :CentOS 6.3 6.4
Ubuntu 13.10
For CentOS 6.4
libvirt-java-0.4.9-1.el6.noarch
libvirt-python-0.10.2-29.el6.x86_64
libvirt-client-0.10.2-29.el6.x86_64
libvirt-0.10.2-29.el6.x86_64
I am try to use java bindings to event callback.
int register = conn.domainEventRegisterAny(null, 0, cb);
libvirt: Remote Driver error : adding cb to list
exception caught:org.libvirt.LibvirtException: adding cb to list
level:VIR_ERR_ERROR
code:VIR_ERR_RPC
domain:VIR_FROM_REMOTE
hasConn:false
hasDom:false
hasNet:false
message:adding cb to list
str1:%s
str2:adding cb to list
str3:null
int1:-1
int2:-1
By the way I also trace the mail list
[libvirt] [PATCH] Java bindings for domain events (2008 Nov 07) [libvirt] [PATCH 1/2] Java bindings for domain events [libvirt] [PATCH 2/2] Java bindings for domain events (2008 Nov 18) --> Reject patch Re: [libvirt] [PATCH 1/2] Java bindings for domain events (2008 Dec) —>No Result Using Java bindings to event callback (2010 Jul) —>No Result [libvirt] [PATCH 0/2] Libvirt-java event handling (2011Jul) —>
I think most drivers don't support that. We have a custom driver for our hypervisor and it works.
[libvirt] [libvirt-java] [PATCH 00/12] event support (2013 Jan)
—> Re: [libvirt] [libvirt-java] [PATCH 00/12] event support (2013 Mar) --> No Result
Any suggestions?
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users