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

Re: [PATCH v5 21/21] tools: Clean up vchan-socket-proxy socket


  • To: Jason Andryuk <jandryuk@xxxxxxxxx>
  • From: Ian Jackson <ian.jackson@xxxxxxxxxx>
  • Date: Thu, 14 May 2020 17:48:35 +0100
  • Authentication-results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@xxxxxxxxxx; spf=Pass smtp.mailfrom=Ian.Jackson@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx; dmarc=pass (p=none dis=none) d=citrix.com
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Thu, 14 May 2020 16:48:41 +0000
  • Ironport-sdr: m70DffVekrkTeA0ohNqCuFaij02MzVE3SpMwAz5VRQMCmQVnrHJ9oWto/mWzKuVK/UXQClknE1 HdyByvzBW5R3tuqjd386197E9kUOMnPzIi1DDx/7Lbx/AJ6mul6TdKmCl8V/vKs1cYtTTE111c UNbfY7VTyANIEr12Hvg8sMFP1CavG/zKgiCknaVaaR+8ITLKtOKGLfLOia0gWQsE7sU5sdNMdM fzgnZseznRSBLm1CKpwvOHAqfWSbheSKeG/cb4t0FJIM3HuQmcDmHEMehdWd52mfk3iX6HL+vY bOg=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Jason Andryuk writes ("[PATCH v5 21/21] tools: Clean up vchan-socket-proxy 
socket"):
> To avoid socket files lingering in /run/xen, have vchan-socket-proxy
> clean up the sockets it creates.  Use a signal handler as well as atexit
> to handle both means of termination.

This should be done in [lib]xl destroy, not here.  That way if the
proxy crashes or something it will also get cleaned up.

Thanks,
Ian.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.