[Spice-devel] [spice-gtk v4 00/13] CD sharing feature

Frediano Ziglio fziglio at redhat.com
Tue Sep 18 14:34:46 UTC 2018


> On Tue, Sep 18, 2018 at 02:52:27PM +0400, Marc-André Lureau wrote:
> > Hi
> > 
> > On Mon, Sep 17, 2018 at 5:24 PM Yuri Benditovich
> > <yuri.benditovich at daynix.com> wrote:
> > >
> > > This series of patches adds ability to share ISO files or
> > > local CD devices with guest system using USB redirection
> > > by emulation of USB CD device.
> > 
> > and DVD, I guess.
> > 
> > How much of this "new" emulation code overlaps with existing USB code in
> > QEMU ?
> 
> What exactly is it doing?
> 

Emulating an usb cd in the client using usb redirection

> > >  src/channel-usbredir-priv.h   |    9 +-
> > >  src/channel-usbredir.c        |  267 ++--
> 
> Looks like it uses the usb redirection channel, correct?
> 
> Hmm, so it isn't only usb emulation, but also scsi emulation duplicated
> in spice-client.  Why this route?  Wouldn't it be simpler to run nbd
> over spice-chardev, then hook up the iso as blockdev in qemu?  Which
> you then can attach to any cdrom emulation (ide/sata/scsi/usb) in qemu?
> 
> cheers,
>   Gerd
> 

No, we need to redirect a client CD, not a server one. PoC with nbd was
presented and discarded in favor of client only solution.

Frediano


More information about the Spice-devel mailing list