Hi,

> > USB devices in attached state are visible to the guest.
> 
> If I read the code correctly:
> 
> * ->attached is true between usb_device_attach() and usb_device_detach()
> 
> * Attach and detach is automatic on realize and unrealize, but a device
>   can choose to suppress attach on realize, by unsetting ->auto_attach,
>   and manage attach/detach itself.
> 
> * A detached device is wired up normally in QOM, but the USB core treats
>   it as not plugged into its USB port.
> 
> Correct?

Yes.

cheers,
  Gerd


Reply via email to