[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] qemu leaving unix sockets behind after VM is shut down
From: |
Chris Friesen |
Subject: |
[Qemu-devel] qemu leaving unix sockets behind after VM is shut down |
Date: |
Tue, 1 Apr 2014 14:34:58 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] qemu leaving unix sockets behind after VM is shut down,
Chris Friesen <=