<div dir="ltr">Hi..<br><div><br>I compiled event-test.c as : gcc event-test.c -o events -lvirt<br>and then running as : ./events<br><br>But I am getting this output and the code terminates without detecting events : <br><br>
main:471: Registering domain event cbs<br>myFreeFunc: Freeing [tray change]<br>libvir: XML-RPC error : internal error unsupported event ID 10<br>myFreeFunc: Freeing [pmwakeup]<br>libvir: XML-RPC error : internal error unsupported event ID 11<br>
myFreeFunc: Freeing [pmsuspend]<br>libvir: XML-RPC error : internal error unsupported event ID 12<br>myFreeFunc: Freeing [callback balloonchange]<br>libvir: XML-RPC error : internal error unsupported event ID 13<br>main:580: Closing connection<br>
done<br><br><br></div><div>Please help <br><br></div><div>Thank you<br></div><div>avanti<br></div></div>