search for: vnf_dbg

Displaying 1 result from an estimated 1 matches for "vnf_dbg".

Did you mean: en_dbg
2020 Apr 07
0
when virEventAddTimeout trigger timeout ,should in the callback call virConnectDomainEventDeregisterAny ?
...in a thread function void vnf_control_del_network_cb(virConnectPtr conn, virDomainPtr dom, const char *dev,void * opaque) { struct vnf_del_netwk_opaque * arg = (struct vnf_del_netwk_opaque *)opaque; if(0 == virConnectDomainEventDeregisterAny(conn, arg->call_id)) { VNF_DBG("succ to deRegister, conn:%p, call id:%d\n", conn, arg->call_id); } else { VNF_DBG("fail to deRegister, conn:%p, call id:%d\n", conn, arg->call_id); } .................... virEventRemoveTimeout(arg->timer_id); } void vnf_control_del_network_t...