]> git.proxmox.com Git - mirror_qemu.git/commit - util/qemu-sockets.c
socket: unlink unix socket on remove
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 16 Jun 2016 19:28:52 +0000 (21:28 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 Jun 2016 14:49:41 +0000 (16:49 +0200)
commit74b6ce43e3aacbb101018407196fc963e2c39fea
tree84a5082d6ce8b1c32be1f0a26deb47ce3510181e
parent3fa27a9a1e20e8fb2bf4358d6873177d5d5c049a
socket: unlink unix socket on remove

qemu leaves unix socket files behind when removing a listening chardev
or leaving. qemu could clean that up, even if doing so isn't race-free.

Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1347077

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <1466105332-10285-4-git-send-email-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qemu/sockets.h
io/channel-socket.c
tests/test-io-channel-socket.c
util/qemu-sockets.c