On Tue, Nov 12, 2019 at 12:29:09PM +0100, Francesco Giudici wrote: > When remote-viewer or virt-viewer are terminated by a signal, they quit > without explicitly releasing resources. A bug[1] has been filed against > virt-viewer for not releasing redirected usb devices when it's terminated > by CTRL-C. Clearly this could be solved by adding a signal handler doing > proper shutdown of the application. All resources used by a process are automatically released by the kernel when the process exits. IOW, doing a "graceful exit" to manually release USB devices should not be required, not least because we want everything to behave well even in the face of an abnormal application crash where we have no way to manually releasing devices. Can you explain what is preventing the USN device release from the kernel POV ? Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list