[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: |
linzhecheng |
Subject: |
Re: [Qemu-devel] [PATCH] usb-host: insert usb device into hostdevs to be scaned |
Date: |
Thu, 16 Aug 2018 10:52:23 +0000 |
> -----Original Message-----
> From: Gerd Hoffmann [mailto:address@hidden
> Sent: Thursday, August 16, 2018 6:46 PM
> To: linzhecheng <address@hidden>
> Cc: address@hidden; wangxin (U) <address@hidden>
> Subject: Re: [PATCH] usb-host: insert usb device into hostdevs to be scaned
>
> 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?
I'm trying to live migrate a vm to local host, but found the host-usb device
was removed then.
Is it possible not to remove it after migrating vm?
>
> cheers,
> Gerd
- [Qemu-devel] [PATCH] usb-host: insert usb device into hostdevs to be scaned, linzhecheng, 2018/08/16
- Re: [Qemu-devel] [PATCH] usb-host: insert usb device into hostdevs to be scaned, Gerd Hoffmann, 2018/08/16
- Re: [Qemu-devel] [PATCH] usb-host: insert usb device into hostdevs to be scaned,
linzhecheng <=
- Re: [Qemu-devel] [PATCH] usb-host: insert usb device into hostdevs to be scaned, Gerd Hoffmann, 2018/08/16
- Re: [Qemu-devel] [PATCH] usb-host: insert usb device into hostdevs to be scaned, CheneyLin, 2018/08/16
- Re: [Qemu-devel] [PATCH] usb-host: insert usb device into hostdevs to be scaned, gerd hoffmann, 2018/08/17
- Re: [Qemu-devel] [PATCH] usb-host: insert usb device into hostdevs to be scaned, linzhecheng, 2018/08/19
- Re: [Qemu-devel] [PATCH] usb-host: insert usb device into hostdevs to be scaned, gerd hoffmann, 2018/08/20