All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] qemu leaving unix sockets behind after VM is shut down
@ 2014-04-01 20:34 Chris Friesen
  2014-05-06 13:39 ` Stefan Hajnoczi
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Friesen @ 2014-04-01 20:34 UTC (permalink / raw)
  To: qemu-devel

When running qemu with something like this

-device virtio-serial \
-chardev socket,path=/tmp/foo,server,nowait,id=foo \
-device virtserialport,chardev=foo,name=host.port.0

the VM starts up as expected and creates a socket at /tmp/foo as expected.

However, when I shut down the VM the socket at /tmp/foo is left behind 
in the filesystem.  Basically qemu has "leaked" a file.

With something like OpenStack where we could be creating/destroying many 
VMs this could end up creating a significant number of files in the 
specified directory.

Has any thought been given to either automatically cleaning up the unix 
socket in the filesystem when qemu exits, or else supporting the 
abstract namespace for unix sockets to allow for automatic cleanup?

Chris

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-13 13:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-01 20:34 [Qemu-devel] qemu leaving unix sockets behind after VM is shut down Chris Friesen
2014-05-06 13:39 ` Stefan Hajnoczi
2014-05-06 14:29   ` [Qemu-devel] [libvirt] " Daniel P. Berrange
2014-05-06 14:52   ` [Qemu-devel] " Chris Friesen
2014-05-06 17:25     ` [Qemu-devel] [libvirt] " Eric Blake
2014-05-13 13:24   ` Ján Tomko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.