[bug?] unix sockets opened via chardev devices not being closed on shutdown

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

 



I have a case where I'm creating a virtio channel between the host and
guest using something like this:

    <channel type="unix">
      <source mode="bind" path="/path/in/host/instance_name"/>
      <target type="virtio" name="name_in_guest"/>
    </channel>

When qemu is started up this gets created as expected, but when qemu is
shut down the unix socket is left in the filesystem.

It seems to me that libvirt should be deleting this unix socket the same
way that it deletes the monitor socket in qemuProcessStop().  Anyone
else trying to delete it is going to be subject to race conditions since
they can't know whether or not a virtual machine has been (re)created
that wants to use the same socket path.

Chris

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]