search for: vnf_control

Displaying 2 results from an estimated 2 matches for "vnf_control".

Did you mean: dnd_control
2020 Apr 07
0
when virEventAddTimeout trigger timeout ,should in the callback call virConnectDomainEventDeregisterAny ?
...gt;group_id; cb_para->vsys_id = info->vsysid; cb_para->vnf_id = info->vnf_id; cb_para->conn = conn; cb_para->time_out = 20*1000;//20s cb_para->call_id = virConnectDomainEventRegisterAny(conn, dom, VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED, VIR_DOMAIN_EVENT_CALLBACK(vnf_control_del_network_cb), cb_para, vnf_control_del_network_cb_free); flags |= VIR_DOMAIN_AFFECT_CONFIG; if (virDomainIsActive(dom) == 1) { flags |= VIR_DOMAIN_AFFECT_LIVE; } cb_para->timer_id = virEventAddTimeout(cb_para->time_out, vnf_control_del_network_timeout_cb, cb_para,...
2020 Apr 02
1
can libvirt.so use jemalloc to manage mem ?
...f57690a488a in virFree () from /lib64/libvirt.so.0 #2 0x00007f57690c3562 in virResetError () from /lib64/libvirt.so.0 #3 0x00007f57690c49ad in virEventRegisterDefaultImpl () from /lib64/libvirt.so.0 #4 0x00000000004029ad in main (argc=<optimized out>, argv=<optimized out>) at vnf_mgt/vnf_control.c:2920 (gdb) quit the following code copy from libvirt/src/util / int virEventRegisterDefaultImpl(void) { VIR_DEBUG("registering default event implementation"); virResetLastError(); if (virEventPollInit() < 0) { virDispatchError(NULL); return -1;...