mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Introduce virNetlinkEventServiceStopAll() to stop all netlink services.
This patch introduce virNetlinkEventServiceStopAll() to stop all the monitors to receive netlink messages for libvirtd. Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
This commit is contained in:
committed by
Daniel Veillard
parent
d575679401
commit
15a71e6059
@@ -1327,7 +1327,7 @@ int main(int argc, char **argv) {
|
||||
0, "shutdown", NULL, NULL);
|
||||
|
||||
cleanup:
|
||||
virNetlinkEventServiceStop(NETLINK_ROUTE);
|
||||
virNetlinkEventServiceStopAll();
|
||||
virObjectUnref(remoteProgram);
|
||||
virObjectUnref(qemuProgram);
|
||||
virNetServerClose(srv);
|
||||
|
||||
Reference in New Issue
Block a user