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

2014-03-24 Thread Michal Privoznik
On 22.03.2014 08:37, Avanti Ajay wrote: 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]

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

2014-03-24 Thread Eric Blake
On 03/24/2014 11:16 AM, Michal Privoznik wrote: On 22.03.2014 08:37, Avanti Ajay wrote: 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

[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