qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] one issue about usb passsthrough devices


From: gerd hoffmann
Subject: Re: [Qemu-devel] one issue about usb passsthrough devices
Date: Mon, 5 Nov 2018 07:11:05 +0100
User-agent: NeoMutt/20180716

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]