[libvirt] Error while running event-test.c from libvirt

2014-03-22 Thread Avanti Ajay
Hi.. I compiled event-test.c as : gcc event-test.c -o events -lvirt and then running as : ./events But I am getting this output and the code terminates without detecting events : main:471: Registering domain event cbs myFreeFunc: Freeing [tray change] libvir: XML-RPC error : internal error unsup

[libvirt] Error while running event-test.c in Libvirt package

2014-02-24 Thread Avanti Ajay
Hello, I am trying to run event-test.c code available in libvirt-0.10.2 package under the folder /examples/domain-events/events-c. I am getting the following error /usr/bin/ld: cannot find -lvirt collect2: ld returned 1 exit status Please help me to solve this issue. -- libvir-list mailing l

[libvirt] java api bindings for detecting domain events

2014-02-18 Thread Avanti Ajay
Hi.. I am doing a project in which I need to detect KVM domain events and I am using java for my project. On the net I found many patches for the libvirt Java API bindings for event detection. Does the latest version 0.5 have these patches included ie can I use the method Domain.domainEventRegiste

[libvirt] Compile time error in event-test.c

2014-01-10 Thread Avanti Ajay
Hi... I am trying to compile the event-test.c code of the libvirt package. I am getting this error : I know it is a loader problem. Do I need to install any binaries? administrator@administrator-desktop:~/Desktop/libvirt/examples/domain-events/events-c$ gcc event-test.c -o event -lvirt /tmp/ccHd7