diff options
author | Tang Chen <tangchen@cn.fujitsu.com> | 2012-08-22 12:10:24 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2012-08-22 18:23:58 +0800 |
commit | 15a71e60592afbb9200d1b9c3adcffb532ba7890 (patch) | |
tree | df4bc5de515c4b8f3659d3b314c75c2996c658ca /daemon | |
parent | Improve netlink to support all protocol. (diff) | |
download | libvirt-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.c | 2 |
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); |