On Thu, Nov 01, 2018 at 01:57:15AM +0000, linzhecheng wrote: > Hi, all > A found a problem about libusb, the reproducing steps are as followed: > 1. start up a vm with host-usb devices > 2. kill -9 `pgrep qemu` > We can not see the usb device on host any more, I think this is because qemu > has no chance to release > resources to kernel in this case.
Yes. > How can we recover environment if we encounter this problem? Unplug device, plug it again? Use -TERM instead of -KILL, so it doesn't happen in the first place? cheers, Gerd