Re: [Qemu-devel] [PATCH 11/27] vhost-user-scsi: simplify unix path cleanup

2017-09-19 Thread Paolo Bonzini
On 23/08/2017 18:19, Marc-André Lureau wrote: > Always remove the unix path when leaving the program (instead of when > freeing scsi_dev). Note that unix_sock_new() also unlink() exisiting > path before creating the socket. > > Signed-off-by: Marc-André Lureau > --- > contrib/vhost-user-scsi/vho

[Qemu-devel] [PATCH 11/27] vhost-user-scsi: simplify unix path cleanup

2017-08-23 Thread Marc-André Lureau
Always remove the unix path when leaving the program (instead of when freeing scsi_dev). Note that unix_sock_new() also unlink() exisiting path before creating the socket. Signed-off-by: Marc-André Lureau --- contrib/vhost-user-scsi/vhost-user-scsi.c | 22 +- 1 file changed,