Re: [PATCH v3] daemon: Unlink unix socket paths on shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



于 2011年08月03日 21:04, Eric Blake 写道:
On 08/03/2011 07:37 AM, Osier Yang wrote:
This patch introduces a internal RPC API "virNetServerClose", which
is standalone with "virNetServerFree".  it closes all the socket fds,
and unlinks the unix socket paths, regardless of whether the socket
is still referenced or not.

This is to address regression bug:
https://bugzilla.redhat.com/show_bug.cgi?id=725702
---
  daemon/libvirtd.c             |    1 +
  src/rpc/virnetserver.c        |   16 ++++++++++++++++
  src/rpc/virnetserver.h        |    1 +
  src/rpc/virnetserverservice.c |   12 ++++++++++++
  src/rpc/virnetserverservice.h |    2 ++
  src/rpc/virnetsocket.c        |   22 ++++++++++++++++++++++
  src/rpc/virnetsocket.h        |    1 +
  7 files changed, 55 insertions(+), 0 deletions(-)

You've addressed all my comments, but you're probably best waiting for an ack from danpb.


Daniel, any thoughts on this?

Osier

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]