[Spice-devel] [spice-gtk v3 1/9] usb-redir: define interfaces to support emulated devices

Victor Toso victortoso at redhat.com
Thu Aug 22 11:50:35 UTC 2019


Hi,

On Thu, Aug 22, 2019 at 06:45:37AM -0400, Frediano Ziglio wrote:
> > On Thu, Aug 22, 2019 at 1:18 PM Victor Toso <victortoso at redhat.com> wrote:
> > > I take creating emulated devices can take some time, isn't
> > > it worth to do async?
> > 
> > I do not see any point where it can take perceptible time.
> > Creation of the device is 'go - no go' and fails only in case
> > the file name is wrong.

Well, it is a bit generic thing this emulated usb device
creation. That's why I thought it could make sense. Not a problem
anyway, more like a question than a suggestion.

> I agree with Yuri. Also if the device is really complicated and
> needs some long initialization probably would better to return
> a valid device and fail later at the USB layer.

Ok

> For instance in this specific case you can return an emulated
> CD device with no emulated disc in it and later send to the
> guest OS that a disc was inserted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190822/5d75c6e9/attachment.sig>


More information about the Spice-devel mailing list