aboutsummaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorTang Chen <tangchen@cn.fujitsu.com>2012-08-22 12:10:24 +0800
committerDaniel Veillard <veillard@redhat.com>2012-08-22 18:23:58 +0800
commit15a71e60592afbb9200d1b9c3adcffb532ba7890 (patch)
treedf4bc5de515c4b8f3659d3b314c75c2996c658ca /daemon
parentImprove netlink to support all protocol. (diff)
downloadlibvirt-15a71e60592afbb9200d1b9c3adcffb532ba7890.tar.gz
libvirt-15a71e60592afbb9200d1b9c3adcffb532ba7890.tar.bz2
libvirt-15a71e60592afbb9200d1b9c3adcffb532ba7890.zip
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>
Diffstat (limited to 'daemon')
-rw-r--r--daemon/libvirtd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c
index 96c8dddf2..c7f8d3b74 100644
--- a/daemon/libvirtd.c
+++ b/daemon/libvirtd.c
@@ -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);