qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] usb-host: insert usb device into hostdevs to be


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH] usb-host: insert usb device into hostdevs to be scaned
Date: Thu, 16 Aug 2018 12:45:52 +0200
User-agent: NeoMutt/20180622

On Thu, Aug 16, 2018 at 05:43:56PM +0800, linzhecheng wrote:
> According to the comment of usb_host_post_load_bh, after removing the
> usb device passed through, we will kick host to scan it again, but the 
> emulated
> usb device is not added to global list hostdevs, so it can never be 
> discovered then.
> So just do it before usb_host_auto_check. What's more, it's futile to walk 
> devs in
> usb_host_auto_check periodically if hostdevs is empty, so let's delete the 
> usb_auto_timer.

Hmm, needs_autoscan is a fixed property of the device (depending on
configuration), it should not be switched on and off.

What problem you are trying to solve?

cheers,
  Gerd




reply via email to

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